Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SCRPTHST

Package: Scheduling

Routine: SCRPTHST


Information

SCRPTHST ;ALB/DJS - Team History Extract for PCMMR Data Validation; 04/10/14

Source Information

Source file <SCRPTHST.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Kernel 1 ($$DEFDIR,CLOSE,OPEN)^%ZISH  
Registration 1 $$SITE^VASITE  
VA FileMan 1 GETS^DIQ  

Entry Points

Name Comments DBIA/ICR reference
ENTER ; Entry point
;
; Extract file will be a delimited text file (.TXT) that will provide information for PCMM data validation
; Delimiter is a pipe ("|") character
SETREC
COLHDR ;Create column header for Team History extract file
END
HFSOPEN(HANDLE,SCMCPATH,SCMCHFS,SCMCMODE) ; Open File
HFSCLOSE(HANDLE,SCMHFS) ;Close HFS and unload data
IOF() ;used to reset position and insert page break flag when @IOF is executed.

External References

Name Field # of Occurrence
$$DEFDIR^%ZISH ENTER+17
CLOSE^%ZISH HFSCLOSE+1
OPEN^%ZISH HFSOPEN+2
GETS^DIQ SETREC+5
$$SITE^VASITE ENTER+16

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,SCMCPATH
  • Line Location: ENTER+17
Function Call: WRITE
  • Prompt: "Station #|Team History IEN|Team Name|Effective Date|Status|Status Reason",!
  • Line Location: COLHDR+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SCTM(404.58 - [#404.58] GETS^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SCTM(404.58 - [#404.58] SETREC+2
^TMP("SCMC" END+3, END+5, END+6*, END+7*, END+8*, END+9, HFSOPEN+3*

Label References

Name Line Occurrences
COLHDR ENTER+20
END ENTER+18, ENTER+20
HFSCLOSE END
HFSOPEN ENTER+18
SETREC ENTER+20

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
EFFDT ENTER+15~, SETREC+7*, SETREC+10
HANDLE HFSOPEN~, HFSOPEN+2, HFSCLOSE~, HFSCLOSE+1
I END+1~, END+5*, END+6, END+7, END+8
IO ENTER+19
IOF ENTER+14~, HFSOPEN+4*
MSG ENTER+14~, END+3*, END+9*
POP HFSOPEN+1~, HFSOPEN+2
SCDATA ENTER+15~, SETREC+3!
SCDATA( SETREC+6, SETREC+7, SETREC+8, SETREC+9
SCIENS ENTER+15~, SETREC+4*, SETREC+5, SETREC+6, SETREC+7, SETREC+8, SETREC+9
SCMCERR ENTER+14~, ENTER+17*, ENTER+18, END+2, HFSOPEN+3*
SCMCHFS ENTER+14~, ENTER+17*, ENTER+18, END, HFSOPEN~, HFSOPEN+2
SCMCMODE ENTER+14~, HFSOPEN~, HFSOPEN+2
SCMCPATH ENTER+14~, ENTER+17*, ENTER+18, HFSOPEN~, HFSOPEN+2
SCMHFS HFSCLOSE~
SITE ENTER+14~, ENTER+16*
STANUM ENTER+15~, ENTER+16*, ENTER+17, SETREC+10
STATRSN ENTER+15~, SETREC+9*, SETREC+10
STATUS ENTER+15~, SETREC+8*, SETREC+10
TIEN ENTER+15~, SETREC+1*, SETREC+2*, SETREC+4, SETREC+10
TNAME ENTER+15~, SETREC+6*, SETREC+10
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All