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

Package: Drug Accountability

Routine: PSADJI


Information

PSADJI ;BIR/LTL-Balance Initialization ;7/23/97

Source Information

Source file <PSADJI.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA FileMan 4 NOW^%DTC  ^DIC  ^DIE  ^DIR  
Drug Accountability 1 ^PSADA  

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
Drug Accountability 1 PSA BALANCE INITIALIZE  

Entry Points

Name Comments DBIA/ICR reference
CHKD
MON
TR
FIND
QUIT

External References

Name Field # of Occurrence
NOW^%DTC CHKD+14
^DIC MON+1, FIND+1, FIND+5
^DIE CHKD+15, MON+2, FIND+2
^DIR CHKD+8, CHKD+12
^PSADA PSADJI+5

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"There are no drugs in ",$G(PSALOCN)
  • 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: !!,PSADRUGN," may have to be adjusted.",!!,"There's already ",$P($G(^PSD(58.8,+PSALOC,1,+PSADRUG,0)),U,4)," on hand."
  • Line Location: CHKD+7
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: CHKD+8
Routine Call
  • DIC
  • Line Location:
    • MON+1
    • FIND+1
    • FIND+5
Routine Call
  • DIE
  • Line Location:
    • CHKD+15
    • 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] CHKDCHKD+3, CHKD+7, CHKD+11, CHKD+13, CHKD+16, MONMON+1, FIND+3
^PSD(58.81 - [#58.81] TR, FIND*, FIND+1
^PSDRUG - [#50] CHKD+3, CHKD+4, CHKD+10
^TMP("PSAB" CHKD+4*, CHKD+6, QUIT!

Label References

Name Line Occurrences
FIND FIND
QUIT PSADJI+5, CHKDCHKD+6

Naked Globals

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

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % CHKD+14
D0 PSADJI+6~
D1 PSADJI+6~
D2 PSADJI+6~
DA PSADJI+6~, 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 PSADJI+6~, MON+1*!, FIND+1*!, FIND+4*, FIND+5!
DIC(0 MON+1*, FIND+1*, FIND+4*
DIE PSADJI+6~, CHKD+14*, MON+2*, FIND+2*!
DILOCKTM CHKD+11, TR
DINUM PSADJI+6~, MON+1*, FIND+1*, FIND+4*
DIR PSADJI+6~, CHKD+8!, CHKD+12!
DIR("A" CHKD+12*
DIR(0 CHKD+8*, CHKD+12*
DIRUT PSADJI+6~, CHKD+13
DLAYGO PSADJI+6~, MON+1*!, FIND+1*!, FIND+5*!
DR PSADJI+6~, CHKD+15*, MON+2*, FIND+2*
DT MON+1, MON+2
DTOUT PSADJI+6~, CHKD+7
DUOUT PSADJI+6~, CHKD+7
IOF CHKD+5, CHKD+8
IOSL CHKD+7
PSAC PSADJI+6~, CHKD+6*
PSADRUG PSADJI+6~, CHKD+2*, CHKD+3*, CHKD+4, CHKD+6*, CHKD+7, CHKD+10, CHKD+11, CHKD+13, CHKD+15
CHKD+16, MONMON+1, MON+2, FIND+3, FIND+5
PSADRUGN PSADJI+6~, CHKD+2*, CHKD+6*, CHKD+7, CHKD+9
PSADT PSADJI+6~, CHKD+14*
>> PSALOC PSADJI+5, CHKDCHKD+3, CHKD+7, CHKD+11, CHKD+13, CHKD+15, CHKD+16, MONMON+1
MON+2, FIND+3, FIND+5
>> PSALOCN CHKD
PSAOUT PSADJI+6~
PSAQ PSADJI+6~
PSAR PSADJI+6~
PSAREC PSADJI+6~, CHKD+14*, CHKD+15, CHKD+17
PSAS PSADJI+6~
PSAT PSADJI+6~, FIND*, FIND+1, FIND+2, FIND+4
U CHKD+3, CHKD+4, CHKD+7, CHKD+10, FIND
X PSADJI+6~, MON+1*, FIND+1*, FIND+4*
Y PSADJI+6~, 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