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

Package: Drug Accountability

Routine: PSAREPV


Information

PSAREPV ;BIR/LTL,JMB-Invoice Review ;7/23/97

Source Information

Source file <PSAREPV.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
Kernel 3 (,HOME)^%ZIS  ^%ZISC  (,$$S)^%ZTLOAD  
VA Fileman 3 IX^DIC  DT^DICRW  ^DIR  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Drug Accountability 2 PSA INVOICE REVIEW  PSAREC  

Entry Points

Name Comments DBIA/ICR reference
START ;compiles and prints output
END
LOOP
DEV ;asks device and queueing info
HEADER ;prints header info

External References

Name Field # of Occurrence
^%ZIS DEV+1
HOME^%ZIS DEV+2
^%ZISC END+2
^%ZTLOAD DEV+2
$$S^%ZTLOAD HEADER+2
IX^DIC PSAREPV+9
DT^DICRW PSAREPV+7
^DIR END+1, HEADER+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"NO DEVICE SELECTED OR OUTPUT PRINTED!"
  • Line Location: DEV+1
Function Call: WRITE
  • Prompt: !,"Receiving Site: ",$P($G(^PSD(58.8,+PSALOC,0)),"^"),!
  • Line Location: LOOP+1
Function Call: WRITE
  • Prompt: !,"Receiving Site: ",$P($G(^PSD(58.8,+$P($G(^PSD(58.81,+PSA(1),0)),"^",3),0)),"^"),!
  • Line Location: LOOP+2
Function Call: WRITE
  • Prompt: !,Y," ",$E($P($G(^PSDRUG(+$P($G(^PSD(58.81,+PSA(1),0)),"^",5),0)),"^"),1,25)," => "
  • Line Location: LOOP+3
Function Call: WRITE
  • Prompt: !!,"Task #",$G(ZTSK),", ",$G(ZTDESC)," was stopped by ",$P($G(^VA(200,+$G(DUZ),0)),"^"),"."
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $Y
  • Line Location: HEADER+3
Function Call: WRITE
  • Prompt: !,"History of receipts for Invoice # ",PSA(2),?57,PSARPDT,?70,"PAGE: ",PSAPG,!,PSALN,!
  • Line Location: HEADER+3
Routine Call
  • %ZIS
  • Line Location:
    • DEV+2
Routine Call
  • DIR
  • Line Location:
    • END+1
    • HEADER+1
Routine Call
  • %ZIS
  • Line Location:
    • DEV+1
Routine Call
  • DIC
  • Line Location:
    • PSAREPV+9

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSD(58.81 - [#58.81] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" START+1, LOOP+3
^PSD(58.8 - [#58.8] LOOP+1, LOOP+2
^PSD(58.81 - [#58.81] PSAREPV+9, PSAREPV+10, LOOP, LOOP+1, LOOP+2, LOOP+3, LOOP+4
^PSDRUG - [#50] LOOP+3
^VA(200 - [#200] LOOP+4, HEADER+2

Label References

Name Line Occurrences
END PSAREPV+9, PSAREPV+10, DEV+1, DEV+2, LOOP
HEADER START+1, LOOP

Naked Globals

Name Field # of Occurrence
^(0 LOOP+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%DT START+1~
%ZIS DEV+1~*
>> D PSAREPV+8*
DIC PSAREPV+6~, PSAREPV+8*, PSAREPV+9!
DIC("A" PSAREPV+8*
DIC(0 PSAREPV+8*
DIR PSAREPV+6~, HEADER+1!
DIR("A" END+1*
DIR(0 END+1*, HEADER+1*
DT START+1
DTOUT PSAREPV+6~
DUOUT PSAREPV+6~
DUZ HEADER+2
IO("Q" DEV+1!, DEV+2, END+2!
IOF END, HEADER+3
IOP DEV+1~
IOSL LOOP
IOST END, END+1, HEADER+1
POP DEV+1~
PSA PSAREPV+6~, PSAREPV+9*
PSA(1 START+1*, LOOP*, LOOP+1, LOOP+2, LOOP+3, LOOP+4
PSA(2 PSAREPV+9*, LOOP, HEADER+3
PSALN START+1~, HEADER+3*
PSALOC PSAREPV+6~, LOOP+1*, LOOP+2*
PSAOUT PSAREPV+6~, PSAREPV+9*, PSAREPV+10*, DEV+1*, DEV+2*, START+1*, LOOP, END+1, HEADER+1*, HEADER+2*
PSAPG START+1~*, HEADER+1, HEADER+3*
PSARPDT START+1~*, HEADER+3
X PSAREPV+6~
Y PSAREPV+6~, PSAREPV+9, PSAREPV+10, START+1*, LOOP+3*, HEADER+1
ZTDESC DEV+2~*, HEADER+2
ZTDTH DEV+2~
ZTIO DEV+2~
>> ZTQUEUED END+2
>> ZTREQ END+2*
ZTRTN DEV+2~*
ZTSAVE DEV+2~
ZTSAVE("PSA*" DEV+2*
ZTSK DEV+2~, HEADER+2
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