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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PRSATE2

Package: PAID

Routine: PRSATE2


Information

PRSATE2 ; HISC/REL,WIRMFO/JAH - Display Employee Tour of Duty ;3/3/1998

Source Information

Source file <PRSATE2.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
PAID 6 HDR^PRSADP1  ($$NXTPP,DTP)^PRSAPPU  $$TWE^PRSATE0  ^PRSATE3  (,QUE)^PRSAUTL  $$ASK^PRSLIB00  
Kernel 3 ^%ZIS  ^%ZISC  KILL^XUSCLEAN  
VA FileMan 3 C^%DTC  IX^DIC  ^DIR  

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: 5

Package Total Caller Graph
PAID 5 PRSA TK TOUR-DISP  PRSA TK TOUR-DISP-SUP  PRSATE  PRSATE0  PRSPCORE  

Entry Points

Name Comments DBIA/ICR reference
TK ; TimeKeeper Entry
SUP ; Supervisor Entry
TL
T1 ;ask type of output
NME ;Ask user what employee they want to display tour of duty for.
Q1
S0 ; Short Display
S1 ;
; Y1 = employee tour of duty node 4 current day of week one.
; Y2 = employee tour of duty node 4 current day of week two.
; Y2 = node 8 telework
; TD = tour of duty pointer to Tour of Duty file.
L0 ; Long Display
H1
DT ; Get date of PP
NOL ; Select this PP or Next
N0
N1
EX

External References

Name Field # of Occurrence
C^%DTC DT+2, DT+3, NOL+23, N0
^%ZIS NME+9
^%ZISC NME+11
IX^DIC NME+5
^DIR T1+4
HDR^PRSADP1 S0+3
$$NXTPP^PRSAPPU TL+18
DTP^PRSAPPU DT+2, DT+3, NOL+15, NOL+23, N0
$$TWE^PRSATE0 L0+2
^PRSATE3 L0+5
^PRSAUTL TL+3
QUE^PRSAUTL NME+10
$$ASK^PRSLIB00 Q1+4, H1
KILL^XUSCLEAN EX

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: NME+5
Function Call: WRITE
  • Prompt: !
  • Line Location: NME+8
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $E(IOST,1,2)="C-"
  • Line Location: Q1+0
Function Call: WRITE
  • Prompt: !?26,"VA TIME & ATTENDANCE SYSTEM"
  • Line Location: Q1+0
Function Call: WRITE
  • Prompt: !?29,"EMPLOYEE TOUR OF DUTY"
  • Line Location: Q1+1
Function Call: WRITE
  • Prompt: !!?7,"TW Week 1 - ",$E(Y1,5,13),?41,"TW Week 2 - ",$E(Y2,5,13),!
  • Line Location: S0+4
Function Call: WRITE
  • Prompt: !?2,$P("Sun Mon Tue Wed Thu Fri Sat"," ",DAY)
  • Line Location: S1+9
Function Call: WRITE
  • Prompt: ?7,PRSA
  • Line Location: S1+10
Function Call: WRITE
  • Prompt: ?11,$P($G(^PRST(457.1,TD,0)),"^",1)
  • Condition for execution: TD
  • Line Location: S1+10
Function Call: WRITE
  • Prompt: ?41,PRSA
  • Line Location: S1+13
Function Call: WRITE
  • Prompt: ?45,$P($G(^PRST(457.1,TD,0)),"^",1)
  • Condition for execution: TD
  • Line Location: S1+13
Function Call: WRITE
  • Prompt: !
  • Line Location: S1+15
Function Call: WRITE
  • Prompt: !!,$P(C0,U),?30,"Telework Indicator: ",$S($P($$TWE^PRSATE0(DFN,PPI),U,3)]"":$P($$TWE^PRSATE0(DFN,PPI),U,3),1:"None")
  • Line Location: L0+2
Function Call: WRITE
  • Prompt: ?65,$E(X),"XX-XX-",$E(X,6,9)
  • Line Location: L0+3
Function Call: WRITE
  • Prompt: !!,?7,"TW Week 1 - ",$E(Y1,5,13),?41,"TW Week 2 - ",$E(Y2,5,13),!
  • Line Location: L0+4
Function Call: WRITE
  • Prompt: !
  • Line Location: NOL+8
Function Call: WRITE
  • Prompt: !,"C = Current Pay Period beginning ",Y
  • Line Location: NOL+15
Function Call: WRITE
  • Prompt: !,"L = Last Pay Period beginning ",Y
  • Line Location: NOL+23
Function Call: WRITE
  • Prompt: !,"N = Next Pay Period beginning ",Y
  • Line Location: N0+0
Function Call: READ
  • Variable: SRT
  • Timeout: DTIME
  • Line Location: N1+0
Function Call: WRITE
  • Prompt: $C(7)," Choose from C, N or L if displayed"
  • Line Location: N1+1
Routine Call
  • DIC
  • Line Location:
    • NME+5
Routine Call
  • DIR
  • Line Location:
    • T1+4
Routine Call
  • %ZIS
  • Line Location:
    • NME+9

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PRSPC - [#450] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PRSPC - [#450] L0+1
^PRST(457.1 - [#457.1] S1+10, S1+13, S1+16, S1+17
^PRST(458 - [#458] TL+6, TL+12, S1+7, S1+11, DT+1, DT+2, NOL+7, NOL+13, NOL+16, NOL+19

Label References

Name Line Occurrences
DT S0+3, L0+4
EX TL+3, TL+9, T1+4, NME+7, NME+9
L0 Q1+3
N0 NOL+16, NOL+19
N1 N1+1
NME NME+10, NME+11
NOL TL+9
Q1 NME+11
S0 Q1+2
S1 S0+5
TL TK+1, SUP+1

Naked Globals

Name Field # of Occurrence
^(0 NOL+13
^(2 DT+1
^(8 S1+7, S1+11

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%ZIS NME+8!, NME+9*!, NME+11!
%ZIS("A" NME+9*
>> C0 L0+1*, L0+2, L0+3
>> D NME+4*
>> D1 NOL+7*, NOL+22, N0
>> DAY S0+5*, S1+7, S1+9, S1+11, L0+5*
>> DFN TL+9*, NME+5*, NME+7, S1+7, S1+11, L0+1, L0+2, NOL+4, NOL+13, NOL+19
DIC NME+1!, NME+4*, NME+5!
DIC("A" NME+1*
DIC("S" NME+2*
DIC(0 NME+3*
DIR T1+4!
DIR("?" T1+3*
DIR("A" T1+2*
DIR("B" T1+2*
DIR(0 T1+1*
>> DIRUT T1+4
DTIME N1
HOLDSCR TL~, Q1+4*
IO NME+11
>> IO("Q" NME+10
IOF Q1
IOP NME+8!, NME+9!, NME+11!
IOST Q1Q1+4, H1
>> POP NME+9
>> PPE TL+6*, TL+12*, TL+18*
>> PPI TL+6*, TL+12*, S1+7, S1+11, L0+2, DT+1, DT+2, NOL+7, NOL+13, NOL+16
NOL+19
PRSA S1+6~, S1+7*, S1+8*, S1+10, S1+11*, S1+12*, S1+13
>> PRSALST NME+10*
>> PRSAPGM NME+10*
>> PRSTLV TK+1*, SUP+1*
>> QT H1*
>> SCL NOL+4*, NOL+13*, NOL+15, NOL+24*, N0N0+1, N0+2, N1+1
>> SRT TL+9, TL+12, TL+18, S1+8, S1+12, S1+13, DT+1, N0+1*, N1*, N1+1*
>> SRTD N0+2*, N1
TD S1+6~, S1+7*, S1+8*, S1+10, S1+11*, S1+12*, S1+13, S1+15*, S1+16, S1+17*
>> TLE NME+4
>> TLI TL+3
>> TYP T1+5*, Q1+2, Q1+3
U S1+7, S1+8, S1+11, S1+12, L0+2, L0+3
X L0+3*, DT+2~, DT+3, NOL+7*
X1 DT+2~*, DT+3*, NOL+22*, N0*
X2 DT+2~*, DT+3*, NOL+22*, N0*
Y T1+5, NME+5, DT+2~, DT+3, NOL+15, NOL+23, N0
Y1 S0+4, S1+6~, S1+7*, S1+8, S1+14, S1+15, L0+4, DT+1*, DT+2*
Y2 S0+4, S1+6~, S1+11*, S1+12, S1+14, S1+17, L0+4, DT+1*, DT+3*
Y8 S1+6~, S1+7*, S1+8, S1+11*, S1+12
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 |  Naked Globals |  Local Variables  | All