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

Package: Controlled Substances

Routine: PSDLSTK2


Information

PSDLSTK2 ;BIR/JPW-Print Stock Drugs Alphabetically ; 2 Aug 94

Source Information

Source file <PSDLSTK2.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA Fileman 3 ^%DT  NOW^%DTC  ^DIR  
Kernel 1 ^%ZISC  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Controlled Substances 1 PSDLSTK  

Entry Points

Name Comments DBIA/ICR reference
PRINT ;prints data for stock drugs
START ;entry point for report
HEADER ;lists header information
DONE
END ;

External References

Name Field # of Occurrence
^%DT PRINT+1
NOW^%DTC START+3
^%ZISC END+3
^DIR DONE+1, HEADER+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,?45,"***** NO DATA AVAILABLE FOR THIS REPORT *****"
  • Line Location: PRINT+2
Function Call: WRITE
  • Prompt: !!,"=> ",$S(NAOU["ZZ/":"#"_$P(NAOU,"/",2)_" NAME MISSING",1:NAOU)
  • Line Location: PRINT+3
Function Call: WRITE
  • Prompt: !!,"=> ",$S(NAOU["ZZ/":"#"_$P(NAOU,"/",2)_" NAME MISSING",1:NAOU)
  • Line Location: PRINT+6
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: DONE+0
Function Call: WRITE
  • Prompt: !
  • Line Location: DONE+1
Function Call: WRITE
  • Prompt: @IOF
  • Condition for execution: $Y
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: !,"ALPHABETICAL LISTING OF NAOU STOCK - DATE: "_RPDT,?121,"PAGE: "_PG,!!,?2,"NARCOTIC AREA OF USE"
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: !,?12,"DRUG",?57,"LOCATION",?74,"STOCK LEVEL",?92,"REORDER LEVEL",!,LN,!
  • Line Location: HEADER+3
Routine Call
  • DIR
  • Line Location:
    • DONE+1
    • HEADER+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" PRINT+1
^PSD(58.8 - [#58.8] START+2, START+3, START+5
^PSDRUG - [#50] START+4
^TMP("PSDLSTK" START+1!, START+6*, PRINT+2, PRINT+3, PRINT+4, PRINT+5, END+1!

Label References

Name Line Occurrences
DONE PRINT+2
HEADER PRINT+1, PRINT+3, PRINT+6
PRINT START+2

Naked Globals

Name Field # of Occurrence
^(0 START+2, START+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% END+1!
%DT PRINT+1*, END+1!
%H END+1!
%I END+1!
%ZIS END+1!
ANS END+1!
DA END+1!, HEADER+1!
DIR DONE+1!, END+1!, HEADER+1!
DIR("A" DONE+1*
DIR(0 DONE+1*, HEADER+1*
DIROUT END+1!
DIRUT DONE+1!, END+1!
DRUG START+2*, START+3, START+4, START+5, PRINT+4*, PRINT+5, PRINT+7, END+1!
DRUGN START+4*, START+6, END+1!
DTOUT END+1!
DUOUT END+1!
IO("Q" END+1!
IOF DONE, HEADER+2
IOSL PRINT+3, PRINT+6
IOST DONE, DONE+1, HEADER+1
LN PRINT+1!*, END+1!, HEADER+3
LOC START+5*, START+6, PRINT+5*, PRINT+7, END+1!
NAOU PRINT+3*, PRINT+4, PRINT+5, PRINT+6, END+1!
NAOU( START+2
NAOUN START+2*, START+6, END+1!
NODE START+5*, PRINT+5*, END+1!
PG PRINT+1*, END+1!, HEADER+1, HEADER+2*
POP END+1!
PSD START+2*, START+3, START+5, END+1!
PSDOUT PRINT+1*, PRINT+3, PRINT+4, PRINT+6, DONE+1, END+1!, HEADER+1*
PSDT END+1!
RPDT PRINT+1*, END+1!, HEADER+2
RSTK START+5*, START+6, PRINT+5*, PRINT+7, END+1!
STK START+5*, START+6, PRINT+5*, PRINT+7, END+1!
TYP END+1!
TYPE END+1!
X START+3, PRINT+1*, END+1!
Y PRINT+1, END+1!, HEADER+1
ZTDESC END+2!
ZTDTH END+2!
ZTIO END+2!
>> ZTQUEUED END+3
>> ZTREQ END+3*
ZTRTN END+2!
ZTSAVE END+2!
ZTSK END+2!
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All