PSGWAR1 ;BHAM ISC/PTD,CML-Print AMIS Report ; 30 Aug 93 / 10:49 AM
Source file <PSGWAR1.m>
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 | PSGWAR |
Name | Comments | DBIA/ICR reference |
---|---|---|
ENQ | ;ENTRY POINT WHEN QUEUED
|
|
DONE | ||
END | ||
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.
|
|
DTLP | ||
DTDA | ||
FLDLP | ||
TOTAL | ;CALCULATE AND SET PIECES 5,6,&7. SET "05", "08" & "18" NODES.
|
|
;PRINT AMIS REPORT
|
||
SETPC | ||
SETOT | ||
WRTLN | ;PRINT A SINGLE LINE FOR SPECIFIED FIELD
|
|
LINE |
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 |
>> | 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! |