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

Package: Controlled Substances

Routine: PSDADJI


Information

PSDADJI ;B'ham ISC/LTL - Balance Initializer ; 3 June 92

Source Information

Source file <PSDADJI.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
VA FileMan 4 NOW^%DTC  ^DIC  ^DIE  ^DIR  
Controlled Substances 2 ^PSDSET  ^PSDSP  

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
Controlled Substances 1 PSD BALANCE INITIALIZE  

Entry Points

Name Comments DBIA/ICR reference
LOOK
CHKD
MON
TR
FIND
QUIT

External References

Name Field # of Occurrence
NOW^%DTC CHKD+14
^DIC LOOK+1, MON+1, FIND+1, FIND+5
^DIE CHKD+16, MON+2, FIND+2
^DIR CHKD+8, CHKD+12
^PSDSET PSDADJI+2
^PSDSP PSDADJI+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"There are no drugs in ",PSDLOCN
  • Line Location: CHKD+0
Function Call: WRITE
  • Prompt: !!,"Give me a second to alphabetize.",!
  • Line Location: CHKD+1
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: CHKD+5
Function Call: WRITE
  • Prompt: !!,PSDRUGN," may have to be adjusted.",!!,"There's already ",$P($G(^PSD(58.8,+PSDLOC,1,+PSDRUG,0)),U,4)," on hand."
  • Line Location: CHKD+7
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: CHKD+8
Routine Call
  • DIC
  • Line Location:
    • LOOK+1
    • MON+1
    • FIND+1
    • FIND+5
Routine Call
  • DIE
  • Line Location:
    • CHKD+16
    • MON+2
    • FIND+2
Routine Call
  • DIR
  • Line Location:
    • CHKD+8
    • CHKD+12

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PSD(58.8 - [#58.8] PSDADJI+4, CHKDCHKD+3, CHKD+7, CHKD+10, CHKD+11, CHKD+13, CHKD+17, MONMON+1
FIND+3
^PSD(58.81 - [#58.81] TR, FIND*, FIND+1
^PSDRUG - [#50] CHKD+3, CHKD+4
^TMP("PSDB" CHKD+4*, CHKD+6, QUIT!

Label References

Name Line Occurrences
CHKD PSDADJI+4
FIND FIND
QUIT PSDADJI+2, LOOK+1, CHKDCHKD+6

Naked Globals

Name Field # of Occurrence
^(0 CHKD+10, MON*, FIND+3*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% PSDADJI+3~, CHKD+14
%H PSDADJI+3~
%I PSDADJI+3~
D0 PSDADJI+3~
D1 PSDADJI+3~
D2 PSDADJI+3~
DA PSDADJI+3~, CHKD+15*, MON+2*, FIND+2*, FIND+5!
DA(1 CHKD+15*, MON+1*, MON+2*, FIND+5*
DA(2 MON+1*, MON+2*, FIND+5*
DIC PSDADJI+3~, LOOK*, LOOK+1!, MON+1*!, FIND+1*!, FIND+4*, FIND+5!
DIC("A" LOOK*
DIC("S" LOOK*
DIC(0 LOOK*, MON+1*, FIND+1*, FIND+4*
DIE PSDADJI+3~, CHKD+15*, MON+2*, FIND+2*!
>> DILOCKTM CHKD+11, TR
DINUM PSDADJI+3~, MON+1*, FIND+1*, FIND+5*
DIR PSDADJI+3~, CHKD+8!, CHKD+12!
DIR("A" CHKD+12*
DIR(0 CHKD+8*, CHKD+12*
DIRUT PSDADJI+3~, CHKD+13
DLAYGO PSDADJI+3~, MON+1*!, FIND+1*!, FIND+4*, FIND+5!
DR PSDADJI+3~, CHKD+15*, MON+2*, FIND+2*
DT MON+1, MON+2
DTOUT PSDADJI+3~, LOOK+1, CHKD+7
DUOUT PSDADJI+3~, LOOK+1, CHKD+7
IOF CHKD+5, CHKD+8
IOSL CHKD+7
PSAC PSDADJI+3~, CHKD+6*
PSAQ PSDADJI+3~
PSDAT PSDADJI+3~, CHKD+14*
PSDLOC PSDADJI+3~, PSDADJI+4*, LOOK+1*, CHKDCHKD+3, CHKD+7, CHKD+10, CHKD+11, CHKD+13, CHKD+15
CHKD+17, MONMON+1, MON+2, FIND+3, FIND+5
PSDLOCN PSDADJI+3~, PSDADJI+4*, LOOK+1*, CHKD
PSDR PSDADJI+3~
PSDREC PSDADJI+3~, CHKD+14*, CHKD+15, CHKD+18
PSDRUG PSDADJI+3~, CHKD+2*, CHKD+3*, CHKD+4, CHKD+6*, CHKD+7, CHKD+10, CHKD+11, CHKD+13, CHKD+15
CHKD+17, MONMON+1, MON+2, FIND+3, FIND+5
PSDRUGN PSDADJI+3~, CHKD+2*, CHKD+6*, CHKD+7, CHKD+9
PSDS PSDADJI+3~, PSDADJI+4
>> PSDSITE PSDADJI+2
PSDT PSDADJI+3~, FIND*, FIND+1, FIND+2, FIND+5
U PSDADJI+4, LOOK+1, CHKD+3, CHKD+4, CHKD+7, CHKD+10, FIND
X PSDADJI+3~, MON+1*, FIND+1*, FIND+5*
Y PSDADJI+3~, LOOK+1, CHKD+4!, CHKD+6, CHKD+8!, CHKD+13*, CHKD+14, FIND+5!
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