PSGWTOT1 ;BHAM ISC/PTD,CML-Print Usage Report for All Drugs for a single AOU or ALL AOUs ; 23 Mar 93 / 1:02 PM
Source file <PSGWTOT1.m>
Package | Total | Call Graph |
---|---|---|
Kernel | 2 | ^%ZISC ^%ZTLOAD |
Auto Replenishment Ward Stock | 1 | ($$PSGWDT,HELP,SS)^PSGWUTL1 |
VA FileMan | 1 | ^DIK |
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Auto Replenishment Ward Stock | 1 | PSGWTOT |
Name | Comments | DBIA/ICR reference |
---|---|---|
ENQ | ;ENTRY POINT WHEN QUEUED
|
|
AOU | ||
DRUG | ;LOOP THROUGH DRUGS FOR AOU
|
|
DRGLP | ||
AR | ;AUTOMATIC REPLENISHMENT INVENTORIES
|
|
INVLP | ||
OD | ;ON DEMAND REQUESTS
|
|
ODLP | ||
RET | ;RETURNS
|
|
RETLP | ||
SETGL | ||
PRTQUE | ;AFTER DATA IS COMPILED, QUEUE THE PRINT
|
|
;PRINT USAGE REPORT FOR ALL DRUGS BY AOU
|
||
AOULP | ||
DRLP | ||
DONE | ||
END | ||
HDR | ;PRINT REPORT HEADER
|
|
PRTCHK | ;
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: READ |
|
Name | Line Occurrences |
---|---|
AOU | DRGLP |
AOULP | DRLP |
DONE | PRINT+1, AOULP |
DRGLP | DRGLP+1, SETGL |
DRLP | DRLP |
END | PRTQUE+2, AOULP, DRLP |
HDR | PRINT+1, AOULP+1, PRTCHK+2 |
INVLP | INVLP+1, INVLP+2 |
OD | INVLP |
ODLP | ODLP+1, ODLP+2 |
AOU, DRGLP | |
PRTCHK | AOULP, DRLP |
PRTQUE | AOU, DRGLP |
RET | ODLP |
RETLP | RETLP+1, RETLP+2 |
SETGL | RETLP |
Name | Field # of Occurrence |
---|---|
^("I" | AOULP+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | END! |
%H | END! |
%I | END! |
ANS | END!, PRTCHK+1* |
AOU | AOU*, DRGLP, DRGLP+1, INVLP, INVLP+1, ODLP, ODLP+1, RETLP, RETLP+1, SETGL , PRINT+1*, AOULP*, AOULP+1, DRLP, END! |
AOUFL | AOU, DRGLP, END! |
ARQD | AR+1*, INVLP+1*, SETGL, END! |
BDT | ENQ+3, ODLP+1, RETLP+1, END!, HDR+1 |
DA | DRGLP+1*!, END! |
DA(1 | DRGLP+1* |
DIK | DRGLP+1*! |
DRG | AOULP+1*, DRLP*, END! |
DRGDA | DRUG+1*, DRGLP*, DRGLP+1, INVLP, INVLP+1, ODLP, ODLP+1, RETLP, RETLP+1, END! |
DRGNAME | DRGLP+2*, SETGL, END! |
DRGNM | DRGLP*, DRGLP+1, DRGLP+2, END! |
DRGQD | AR+1*, INVLP+1*, ODLP+1*, RETLP+1*, SETGL, END! |
DT | AOULP+1 |
DTIME | PRTCHK+1 |
EDT | ENQ+3, ODLP+1, RETLP+1, END!, HDR+1 |
G | PRTQUE+1*, END! |
INVDA | AR+1*, INVLP*, INVLP+1, END! |
INVDT | ENQ+3*, END! |
INVN | ENQ+2*, ENQ+3*, END! |
IOF | DONE, HDR+1 |
IOSL | DRLP |
IOST | DONE, DONE+1, PRTCHK+1 |
ITMFL | END! |
ITNAM | END! |
J | ENQ+3*, END!, HDR+3* |
LOC | DRLP*, END! |
ODA | OD+1*, ODLP*, ODLP+1, END! |
ODQD | AR+1*, ODLP+1*, SETGL, END! |
ODT | ODLP*, ODLP+1, END! |
PGCT | PRINT+1*, AOULP, AOULP+1, END!, HDR+1, HDR+2* |
PSGWIO | PRTQUE+1, END! |
QD | INVLP+1*, ODLP+1*, RETLP+1*, END! |
QFLG | PRINT+1*, AOULP, DRLP, DONE+1, END!, PRTCHK+1* |
RETDT | RET+1*, RETLP*, RETLP+1, END! |
RTQD | AR+1*, RETLP+1*, SETGL, END! |
X | END! |
Y | END!, HDR+1* |
>> ZTDESC | PRTQUE+1* |
>> ZTDTH | PRTQUE+1* |
ZTIO | PRTQUE+1!*, END! |
>> ZTQUEUED | AOU, DRGLP, END+2 |
>> ZTREQ | END+2* |
>> ZTRTN | PRTQUE+1* |
ZTSAVE | PRTQUE+1! |
ZTSAVE( | PRTQUE+1* |
ZTSAVE("^TMP(""PSGWUSE"",$J," | PRTQUE+1* |
ZTSK | END! |