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

Package: Drug Accountability

Routine: PSATRAN1


Information

PSATRAN1 ;BIR/JMB-Transfer Drugs between Pharmacies - CONT'D ;7/23/97

Source Information

Source file <PSATRAN1.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA Fileman 4 ^%DT  NOW^%DTC  ^DIC  ^DIE  
MailMan 1 ^XMD  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Drug Accountability 1 PSATRAN  

Entry Points

Name Comments DBIA/ICR reference
QUIT
CALC ;sub/add qty from dsp sites
CHK ;check for valid bal
UPDATE ;update location balances
ADD ;find entry number
MON ;update monthly activity node
ACT ;update location drug info
MSG ;send mailman message with transfer info
TRANS ;update transaction data
FIND

External References

Name Field # of Occurrence
^%DT MON+6
NOW^%DTC CALC+3
^DIC FIND+1, ACT+2, MON+4, MON+7
^DIE UPDATE+7, UPDATE+10, TRANS+3, MON+5, MON+14
^XMD MSG+8

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"Updating pharmacy on-hand balances now..."
  • Line Location: UPDATE+1
Function Call: WRITE
  • Prompt: !,"Done!"
  • Line Location: UPDATE+11
Function Call: WRITE
  • Prompt: "."
  • Line Location: CALC+1
Function Call: WRITE
  • Prompt: "."
  • Line Location: FIND+2
Function Call: WRITE
  • Prompt: "."
  • Line Location: TRANS+3
Function Call: WRITE
  • Prompt: "."
  • Line Location: ACT+2
Function Call: WRITE
  • Prompt: "."
  • Line Location: MON+4
Function Call: WRITE
  • Prompt: "."
  • Line Location: MON+8
Function Call: WRITE
  • Prompt: "."
  • Line Location: MON+14
Routine Call
  • DIE
  • Line Location:
    • UPDATE+7
    • UPDATE+10
    • TRANS+3
    • MON+5
    • MON+14
Routine Call
  • DIC
  • Line Location:
    • FIND+1
    • ACT+2
    • MON+4
    • MON+7

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)
^PSD(58.8 - [#58.8] CALC+2, CALC+4, CALC+5, ACT+1*, ACT+2, MON+1, MON+2, MON+9, MON+13, CHK+1
, CHK+2
^PSD(58.81 - [#58.81] UPDATE+6, UPDATE+7, UPDATE+9, UPDATE+10, ADD+1, FIND*, FIND+2
^TMP("PSASIG" UPDATE+11*
^TMP("PSATRAN" MSG+1!, MSG+2*, MSG+3*, MSG+4*, MSG+5*, QUIT!
^XUSEC("PSAMGR" MSG+7

Label References

Name Line Occurrences
CALC UPDATE+3
CHK UPDATE+1
FIND FIND
MSG UPDATE+12
QUIT MSG+8

Naked Globals

Name Field # of Occurrence
^(0 CALC+4*, MON+1*

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % CALC+3
DA UPDATE+5*, UPDATE+6, UPDATE+7!, UPDATE+8*, UPDATE+9, UPDATE+10!, TRANS+1!*, TRANS+3!, ACT+2!, MON+4*
, MON+9*, MON+13, MON+14!
DA(1 ACT+2*, MON+4*, MON+5*, MON+7*, MON+12*
DA(2 ACT+2*, MON+4*, MON+5*, MON+7*, MON+12*
DD ACT+2!
DIC FIND+1!*, ACT+2*!, MON+3*, MON+4!, MON+7*
DIC(0 FIND+1*, ACT+2*, MON+3*, MON+7*
DIE UPDATE+5*, UPDATE+10!, TRANS+1!*, TRANS+3!, MON+5*!, MON+12*, MON+14!
DINUM FIND+1*!, ACT+2*!, MON+4*!, MON+7*!
DLAYGO FIND+1!*, MON+4*!, MON+7*!
DO ACT+2!
DR UPDATE+5*, UPDATE+8*, TRANS+1!, TRANS+2*, TRANS+3!, MON+5*, MON+13*
>> PSABAL MON+11*, MON+13
>> PSABAL( CALC+4*, TRANS+2, MON+5
>> PSADD UPDATE+12, UPDATE+13*
>> PSADISP MON+10*, MON+11
>> PSADJ MON+10*, MON+11
>> PSADRG CALC+2, CALC+4, CALC+5, TRANS+2, ACT+1, ACT+2, MON+1, MON+2, MON+3, MON+4
, MON+5, MON+7, MON+9, MON+12, MON+13, CHK+1, CHK+2
>> PSADRGN MSG+2
>> PSADT CALC+3*, TRANS+2, MON+2, MON+4, MON+9
>> PSADU MSG+3
>> PSADUZ TRANS+2
>> PSADUZN MSG+3
>> PSAFRDA UPDATE+2*, UPDATE+4, UPDATE+8, UPDATE+11, FIND+3*
>> PSAFROM UPDATE+11, CALC+1, CHK+1, CHK+2
>> PSAFROMN MSG+4
>> PSAJJ MSG+7*
>> PSALCNT UPDATE+3*, CALC+1, CALC+4, FIND+3, TRANS+2, MON+5
>> PSALES UPDATE+1, CHK+1*, CHK+2*
>> PSANODE MON+9*, MON+10, MON+11
>> PSAOUT UPDATE+13*
>> PSAREC FIND*, FIND+1, FIND+3, TRANS+1, ACT+2, MON+10*, MON+11
>> PSARET MON+10*, MON+11
>> PSATEMP CALC+1*, CALC+2, CALC+4, CALC+5, TRANS+2, ACT+1, ACT+2, MON+1, MON+2, MON+3
, MON+4, MON+5, MON+7, MON+9, MON+12, MON+13
>> PSATF MON+10*, MON+11
>> PSATO UPDATE+11, CALC+1
>> PSATODA UPDATE+2*, UPDATE+4, UPDATE+5, FIND+3*
>> PSATON MSG+5
>> PSATQTY CALC+1*, CALC+4, TRANS+2, MON+10, MON+13, CHK+1, CHK+2, MSG+3
>> X FIND+1*, ACT+2*, MON+4*, MON+6*, MON+7*
>> XMDUZ MSG+6*
>> XMSUB MSG+6*
>> XMTEXT MSG+6*
XMY MSG+1!, MSG+8, QUIT!
XMY( MSG+7*
>> Y MON+4, MON+7
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