PSGWAR1 ;BHAM ISC/PTD,CML-Print AMIS Report ; 30 Aug 93 / 10:49 AM
Source file <PSGWAR1.m>
Package | Total | Call Graph |
---|---|---|
Auto Replenishment Ward Stock | 1 | (HDR,SUB1,SUB2,SUB3,SUB4,SUMRY)^PSGWARP |
Kernel | 1 | ^%ZISC |
Package | Total | Caller Graph |
---|---|---|
Auto Replenishment Ward Stock | 1 | PSGWAR |
Name | Comments | DBIA/ICR reference |
---|---|---|
DTDA | ||
END | ||
WRTLN | ;PRINT A SINGLE LINE FOR SPECIFIED FIELD
|
|
START | ;LOOP THROUGH "B" CROSS-REFERENCE AND ^PSI(58.5,DATDA,"S",SITE,"AMIS",FLDA). FOR EACH DATE SELECTED, LOOP THROUGH THE FIELDS AND ADD TOTALS TO LOCAL ARRAY.
|
|
;PRINT AMIS REPORT
|
||
ENQ | ;ENTRY POINT WHEN QUEUED
|
|
DONE | ||
SETPC | ||
FLDLP | ||
DTLP | ||
LINE | ||
TOTAL | ;CALCULATE AND SET PIECES 5,6,&7. SET "05", "08" & "18" NODES.
|
|
SETOT |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PS(59.4 - [#59.4] | ENQ+2 |
^PSI(58.5 - [#58.5] | ENQ+2, DTLP, DTDA, FLDLP, FLDLP+1 |
Name | Line Occurrences |
---|---|
DONE | ENQ+3 |
DTDA | FLDLP |
DTLP | DTDA |
FLDLP | FLDLP+4 |
LINE | PRINT+1, PRINT+2, PRINT+3 |
SETOT | TOTAL+2, TOTAL+3 |
SETPC | TOTAL+1 |
START | ENQ+4 |
TOTAL | DTLP |
WRTLN | PRINT+1, PRINT+2, PRINT+3 |
Name | Field # of Occurrence |
---|---|
^(0 | ENQ+2, FLDLP+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | END! |
%H | END! |
%I | END! |
ADT | END! |
AOU | END! |
BDT | ENQ+2, END!, START+2 |
CURDT | END! |
DATDA | END!, START+2*, DTDA*, FLDLP, FLDLP+1 |
EDT | ENQ+2, END!, DTLP |
FLD | END!, START+1!, FLDLP+1*, FLDLP+2, FLDLP+3, TOTAL+1*, TOTAL+2*, TOTAL+3*, PRINT+1*, PRINT+2* , PRINT+3*, SETPC, SETPC+1, SETPC+2, SETOT, SETOT+1, WRTLN+1 |
FLDA | END!, START+1!, DTDA+1*, FLDLP*, FLDLP+1 |
G | END! |
IO("Q" | END! |
IOF | DONE |
IOST | DONE |
J | END!, START+2*, FLDLP+3*, SETOT*, LINE*, LINE+1* |
LL | END! |
LN | END! |
LOC | END!, START+1! |
LOC( | START+2*, FLDLP+2*, FLDLP+3*, SETPC*, SETPC+1*, SETPC+2*, SETOT*, SETOT+1*, WRTLN+1 |
LOC(17 | TOTAL+4 |
LOC(18 | TOTAL+4* |
LOC1 | END!, START+1!, FLDLP+1*, FLDLP+2, FLDLP+3 |
LPDT | END!, START+2*, DTLP*, DTDA |
RPDT | ENQ+2*, END! |
SITE | ENQ+2*, ENQ+4*, END!, FLDLP, FLDLP+1 |
SITE( | ENQ+2*, ENQ+4 |
SITE(0 | ENQ+3 |
SUB | START+1! |
SUB1 | END!, START+1!, TOTAL+2*, TOTAL+3*, SETOT |
SUB2 | END!, TOTAL+2*, TOTAL+3*, SETOT |
UPDT | END! |
X | END! |
Y | END! |
>> ZTQUEUED | END+2 |
>> ZTREQ | END+2* |
ZTSK | END! |