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 |  Caller 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: SCRPTPHS

Package: Scheduling

Routine: SCRPTPHS


Information

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

Source Information

Source file <SCRPTPHS.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  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Scheduling 1 SCMC TEAM POS HISTORY EXTRACT  

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 Position 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+18
CLOSE^%ZISH HFSCLOSE+1
OPEN^%ZISH HFSOPEN+2
GETS^DIQ SETREC+5
$$SITE^VASITE ENTER+17

Interaction Calls

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

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^SCTM(404.59 - [#404.59] 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+21
END ENTER+19, ENTER+21
HFSCLOSE END
HFSOPEN ENTER+19
SETREC ENTER+21

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

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