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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PRSALVS

Package: PAID

Routine: PRSALVS


Information

PRSALVS ;WOIFO/PLT - Display Leave Request ;02/12/08

Source Information

Source file <PRSALVS.m>

Call Graph

Call Graph

Call Graph Total: 8

Package Total Call Graph
PAID 5 ^PRSALVT  (DTP,PP)^PRSAPPU  $$GETFSCYR^PRSARC04  RES^PRSARC05  DTP^PRSAUDP  
VA FileMan 2 ^%DT  (,C)^%DTC  
Kernel 1 KILL^XUSCLEAN  

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

Package Total Caller Graph
PAID 4 PRSA LV DISP  PRSALVR  PRSALVX  PRSASC  

Entry Points

Name Comments DBIA/ICR reference
DISP ; Display Leave Requests
D0
LST ; Display Request
BAL ; Leave Balance
B0
B1
B2
B3
HDR ; Display Header
H1
EX
LC(X)
RT(EDT,SDT)

External References

Name Field # of Occurrence
^%DT PRSALVS+6
^%DTC B2+7, B2+16, B2+17, B2+18
C^%DTC B2+8
^PRSALVT BAL+3
DTP^PRSAPPU LST+7, LST+8
PP^PRSAPPU B2
$$GETFSCYR^PRSARC04 RT+1
RES^PRSARC05 RT+2
DTP^PRSAUDP LST+13
KILL^XUSCLEAN EX

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,*7,"Your SSN was not found in both the New Person & Employee File!"
  • Line Location: PRSALVS+4
Function Call: WRITE
  • Prompt: !
  • Line Location: PRSALVS+6
Function Call: WRITE
  • Prompt: !
  • Line Location: PRSALVS+7
Function Call: WRITE
  • Prompt: !
  • Line Location: LST+6
Function Call: WRITE
  • Prompt: $J(CNT,2)," "
  • Line Location: LST+6
Function Call: WRITE
  • Prompt: $P(Z,"^",4)," "
  • Line Location: LST+7
Function Call: WRITE
  • Prompt: Y," to ",$P(Z,"^",6)," "
  • Line Location: LST+7
Function Call: WRITE
  • Prompt: Y," "
  • Line Location: LST+8
Function Call: WRITE
  • Prompt: X," ",$S($P(Z,"^",16)="D":"days",1:"hrs")," "
  • Line Location: LST+9
Function Call: WRITE
  • Prompt: $P($E(LVT,%,999),";",1)," "
  • Line Location: LST+10
Function Call: WRITE
  • Prompt: $P($E(LVS,%,999),";",1)
  • Line Location: LST+12
Function Call: WRITE
  • Prompt: !?5,"Requested: ",Y
  • Line Location: LST+13
Function Call: WRITE
  • Prompt: !,Z,?6," Leave Balance: ",$J(BAL,9,3)," as of ",D1
  • Line Location: B2+3
Function Call: WRITE
  • Prompt: !,Z," Leave Balance: ",$S(Z="ML":$J(BAL,13,2),1:$J(BAL,13,3))," as of ",D1
  • Line Location: B2+4
Function Call: WRITE
  • Prompt: !,Z," Estimated Earnings: ",$J(INC,8,3)
  • Line Location: B2+9
Function Call: WRITE
  • Prompt: !,Z," Estimated Usage: ",$J(CNT,11,3)
  • Line Location: B2+20
Function Call: WRITE
  • Prompt: !,Z," Projected Balance: ",$J(BAL,9,3)
  • Line Location: B3+0
Function Call: WRITE
  • Prompt: !,"Warning: Approval MAY result in a negative leave balance."
  • Line Location: B3+1
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $E(IOST,1,2)="C-"
  • Line Location: HDR+1
Function Call: WRITE
  • Prompt: !?26,"VA TIME & ATTENDANCE SYSTEM",!?32,"LEAVE REQUESTS"
  • Line Location: HDR+1
Function Call: WRITE
  • Prompt: !!,$P(X,"^",1)
  • Line Location: HDR+2
Function Call: WRITE
  • Prompt: ?50,"XXX-XX-",$E(X,6,9)
  • Line Location: HDR+2
Function Call: READ
  • Formatting: !!
  • Prompt: "Press RETURN to Continue."
  • Variable: X
  • Timeout: DTIME
  • Line Location: H1+0
Function Call: WRITE
  • Prompt: @IOF,!
  • Line Location: H1+0

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(458.1 DISP+1
^PRSPC - [#450] BAL+4, BAL+5, BAL+6, B0B0+1, B0+2, B1B1+3, B2HDR+2
^PRSPC("SSN" PRSALVS+3
^PRST(458 - [#458] LST+2, LST+3, B2+2
^PRST(458.1 - [#458.1] DISP+2, LST+1, BAL+1, B2+6, B2+11, B2+12
^VA(200 - [#200] PRSALVS+3

Label References

Name Line Occurrences
$$LC B2+13
$$RT B2+8
B0 BAL+3
B1 BAL+7
B2 BAL+4, BAL+5, BAL+6, B0B0+1, B0+2, B1
B3 B2+6
D0 DISP+2
DISP PRSALVS+7
EX PRSALVS+4, PRSALVS+6, PRSALVS+7
H1 PRSALVS+7, LST+5
HDR PRSALVS+5
LST DISP+2

Naked Globals

Name Field # of Occurrence
^( B2+11
^(1 LST+1, B2+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % LST+10*, LST+12*
%DT PRSALVS+6!*
%DT("A" PRSALVS+6*
%DT("B" PRSALVS+6*
>> AINC B2+7, RT+5
>> BAL BAL+1*, BAL+4*, BAL+5*, BAL+6*, B0*, B0+1*, B0+2*, B1*, B1+3*, B2+3
B2+4, B3*, B3+1
CNT DISP+1*, DISP+3, LST+5, LST+6*, BAL+1~*, B2+10*, B2+14*, B2+17*, B2+18*, B2+20
B3
>> D1 B2*, B2+1*, B2+2*, B2+3, B2+4
>> DA DISP+2*, LST+1, LST+6, BAL+1, B2+6
>> DB BAL+3, B2+8, B2+13
>> DFN PRSALVS+3*, PRSALVS+4, DISP+2, LST+3, BAL+4, BAL+5, BAL+6, B0B0+1, B0+2
B1B1+3, B2B2+11, HDR+2, RT+2
DT B2B2+2
>> DTI DISP+2*, B2+11*
DTIME H1
>> DTOUT PRSALVS+6
DUZ PRSALVS+3
EDT PRSALVS+6*, DISP+2, B2+6*, B2+7, B2+8, B2+11, B2+15, B2+18, RT~, RT+1
, RT+2
EFY RT~, RT+1*, RT+2
>> I RT+2*
>> INC BAL+1*, B2+7*, B2+8*, B2+9, B3
IOF HDR+1, H1
IOSL LST+5
IOST HDR+1, H1
>> LST B2*, B2+1, B2+10*, B2+11
>> LVS DISP+1*, LST+12
>> LVT DISP+1*, LST+10
>> NH BAL+3, B2+8, B2+13
>> NUM PRSALVS+7*, DISP+1, LST+1, LST+6
PPE BAL+1~, B2B2+1*, B2+2
>> PPI B2+2*
>> PRT B2+3, B2+4, B2+9, B2+20, B3B3+1
>> QT DISP+1*, DISP+2, LST+5, H1*
R DISP+1!
R( LST+6*
>> RDA B2+11*, B2+12
>> SCOM LST+1*, LST+14
SDT B2+2*, B2+6, B2+7, B2+8, B2+10, B2+15, B2+17, RT~, RT+1, RT+2
SFY RT~, RT+1*, RT+2
>> SINC B2+7, RT+5
>> SSN PRSALVS+3*
T RT~, RT+2*, RT+5
U B1+3, B2+13, RT+1
WK RT~, RT+2
WK( RT+2
X LST+2*, LST+3, LST+7*, LST+8*, LST+9*, LST+10*, LST+11*, LST+12, LST+13*, B2+7
B2+8, B2+16, B2+17, B2+18, HDR+2*, H1*, LC~*
>> X1 B2+7*, B2+8*, B2+12*, B2+16*, B2+17*, B2+18*
>> X2 B2+7*, B2+8*, B2+16*, B2+17*, B2+18*
>> Y PRSALVS+6*, LST+3*, LST+4, LST+7, LST+8, LST+13*, B1+3*
>> YR B2*, B2+1*
Z LST+1*, LST+2, LST+4*, LST+7, LST+8, LST+9, LST+10, LST+11, LST+13, BAL+1*
BAL+2~*, BAL+3, BAL+4, BAL+5, BAL+6, B0B0+1, B0+2, B1B1+1
B1+3*, B2+3, B2+4, B2+5, B2+7, B2+9, B2+12, B2+20, B3, RT+5
>> Z1 B2+12*, B2+13*, B2+14, B2+15, B2+16, B2+17, B2+18
>> Z3 B2+16*, B2+17, B2+18
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All