DIED ;SFISC/GFT,XAK - MAJOR INPUT PROCESSOR ;9MAY2016
Source file <DIED.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
O | ||
TR | ||
W | ||
DQ | ;
|
|
A | ||
B | ;COME BACK HERE FROM DIE2
|
|
RE | ;
|
|
N | ||
RD | ||
T | ||
P | ||
V | ||
UNIQ | ||
Z | ||
X | ||
PR | ||
R | ||
S | ||
F | ||
Y | ||
Q | ||
SET | ;FROM COMPILED TEMPLATES,TOO
|
|
READSET(X,DU,DISCR) | ;X=INCOMING VALUE, DU=SET OF CODES, DISCR=SCREENING LOGIC X IS KILLED IF BAD
|
|
AST | ;G V:DV["'",AST^DIE9
|
|
RW | ||
LOADXR | ;Load all index file xrefs for a field
|
|
KEYCHK() | ;If this is a key field, return 0 if not unique.
|
|
UNIQFERR | ;The field is part of a key and is not unique
|
|
NKEY | ;No value was assigned to this key field
|
|
NOSCR | ;No screen
|
|
SCRNL(DICONT) | ;Screen, No LAYGO allowed
|
|
SCRL(DICONT) | ;Screen, LAYGO allowed
|
|
EXIT | ;Cleanup and set flag to continue by executing the input transform
|
|
DIC(D) | ;Make the appropriate ^DIC call based on D
|
|
PARSE(IT,FRST,LAST) | ;Parse input transform
|
|
GETXRL(FIL,FLD,PFIL,LIST) | ;Get list of indexes from DIE("PTRIX")
|
Name | Field # of Occurrence |
---|---|
$$EZBLD^DIALOG | O+2, UNIQFERR+3, NKEY+1 |
$$LABEL^DIALOGZ | O+2 |
$$SETIN^DIALOGZ | SET+3 |
^DIC | DIC+5 |
IX^DIC | DIC+8 |
MIX^DIC1 | DIC+7 |
^DIE0 | RD |
BR^DIE0 | B+2 |
E^DIE0 | S+2, F+2 |
NO^DIE0 | RD |
B^DIE1 | X+1, UNIQFERR+5, NKEY+2 |
E^DIE1 | B+2 |
M^DIE1 | T, F+3 |
N^DIE1 | S+1, F+2 |
QY^DIE1 | RE+1, S |
^DIE2 | RD |
^DIE3 | T |
^DIEQ | RD+1 |
$$OUTPUT^DIETLIBF | PR+2 |
$$VALEXT^DIETLIBF | T+2 |
$$VALEXTS^DIETLIBF | T+2 |
^DIK | SCRL+19 |
LOADFLD^DIKC1 | LOADXR+8 |
$$KEYCHK^DIKK2 | KEYCHK+6 |
$$SET^DIQ | R+3 |
^DIR | READSET+2 |
RW^DIR2 | O+1, RW |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: READ |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Name | Line Occurrences |
---|---|
$$KEYCHK | Z |
@( | AST+4, AST+5, AST+6, SCRNL+7, SCRL+5 |
A | RE+1, N, RD+1, Z, PR, S+1, F+2 |
AST | P |
B | DQ+1, RD |
DIC | NOSCR+4, SCRNL+12, SCRL+14 |
EXIT | SCRNL+5, SCRNL+9, SCRL+7 |
F | PR |
GETXRL | NOSCR+2, SCRNL+4, SCRL+4 |
LOADXR | Z |
N | PR |
NKEY | N |
NOSCR | P |
O | PR, S |
PARSE | SCRNL+8, SCRL+6 |
PR | RE+1, S+2 |
R | R, R+1 |
RD | PR, S+2, F+3 |
READSET | SET+7 |
S | PR+1, PR+2, R, R+1 |
SCRL | AST+3 |
SCRNL | AST+2 |
SET | T+3 |
TR | RE+1 |
UNIQ | T+1 |
UNIQFERR | Z |
V | T+3, P+1, AST+4 |
W | O, RE+1 |
X | N, T, T+3, P, PR, F+3, AST+5 |
Y | PR |
Z | P+1, F+3, AST+6 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | UNIQ!*, R+3*, READSET+1~, READSET+3*, READSET+4*, READSET+5 |
%( | UNIQ! |
%(0 | UNIQ |
CALL | PARSE+1~, PARSE+2*, PARSE+3, PARSE+4 |
D | SCRL+9!, SCRL+12, DIC~, DIC+1, DIC+4, DIC+6 |
DA | UNIQ, KEYCHK+6, SCRL+18~, SCRL+19* |
>> DB( | RD+1, T+2, P, F*, SET+2, UNIQFERR+3 |
>> DC | N, S+1, F+2 |
DDER | T+3!, SET+7*, READSET+1~, READSET+2 |
>> DDS | X, UNIQFERR+1, NKEY+1 |
>> DE( | O+2, RE+1, PR, PR+1, S+1, F+2, LOADXR+5, LOADXR+14, KEYCHK+4 |
DG | RE+1!, PR+1*, PR+2, R*, R+1*, R+2, R+3, S! |
DG( | Z* |
>> DH | F*, F+1*, F+3 |
>> DIC | P*, SCRL+17, SCRL+19 |
>> DIC("PTRIX" | EXIT+1!, DIC+9!, GETXRL+1!, GETXRL+2* |
>> DIC("S" | Z!, SET+7, SCRL+9, SCRL+10 |
>> DIC(0 | P*, DIC+1*, DIC+2* |
DICALL | SCRL+1~ |
>> DICATTZ | S+1 |
DICONT | AST+2, AST+3, AST+4!, AST+5!, AST+6!, SCRNL~, SCRNL+2!, SCRNL+14*, SCRL~, SCRL+2! , SCRL+9*, SCRL+17*, SCRL+22*, EXIT+2* |
>> DICRIENS | LOADXR+4 |
>> DICRREC | LOADXR+4, LOADXR+14 |
DICSS | SCRL+1~, SCRL+10*, SCRL+17 |
>> DIE | P, UNIQ, LOADXR+10 |
>> DIE("PTRIX" | GETXRL+1, GETXRL+2, GETXRL+4 |
>> DIE("W" | W+1 |
DIEFXREF | KEYCHK+3, UNIQFERR+4! |
DIEKCHK | KEYCHK+1~, KEYCHK+6*, KEYCHK+8 |
DIER | V*! |
>> DIETMP | LOADXR+1, LOADXR+8, LOADXR+10, LOADXR+13, LOADXR+14, LOADXR+15, KEYCHK+2, KEYCHK+5, KEYCHK+7, UNIQFERR+4 |
DIFLD | O+2, B+1*, N, T+2, UNIQ, PR+1, PR+2, R+3, SET+3, SET+6 , READSET+3, LOADXR+4~*, LOADXR+8, LOADXR+13, LOADXR+14, LOADXR+15, KEYCHK+5, KEYCHK+6, KEYCHK+7, UNIQFERR+4 , NOSCR+2, SCRNL+4, SCRL+4 |
DIFLD( | B+1 |
DIFRST | SCRNL+1~, SCRNL+8, SCRNL+9, SCRNL+11, SCRL+1~, SCRL+6, SCRL+7, SCRL+9 |
>> DIG | LOADXR+4 |
>> DIH | LOADXR+4 |
DIIENS | LOADXR+4~*, LOADXR+10, LOADXR+13, LOADXR+14, LOADXR+15, KEYCHK+5, KEYCHK+6, KEYCHK+7, UNIQFERR+4 |
>> DIK | SCRL+19* |
DILANG | SET+1~, SET+3*, SET+4, SET+5!, READSET+3 |
DILAST | SCRNL+1~, SCRNL+8, SCRNL+13, SCRL+1~, SCRL+6, SCRL+21 |
>> DIP | RE+1*, RD+2, Z |
DIPA | T+2!, PR+2! |
DIQUIET | SET+2~*, READSET+2, READSET+5 |
DIR | READSET+1~ |
DIR("S" | READSET+2* |
DIR("V" | READSET+2* |
DIR(0 | READSET+2* |
DISCR | READSET~, READSET+2 |
>> DIU | LOADXR+4 |
DIXRL | NOSCR+1~, NOSCR+2, NOSCR+3*, NOSCR+4, SCRNL+1~, SCRNL+4, SCRNL+5, SCRNL+12, SCRL+1~, SCRL+4 , SCRL+9, SCRL+12*, SCRL+13*, SCRL+14 |
>> DL | W+2 |
DLAYGO | P*, Z! |
>> DNM | AST+4, AST+5, AST+6, SCRNL+7, SCRL+5 |
DP | O+2, N, T+2, PR+1, PR+2, R+3, SET+3, SET+6, READSET+3, LOADXR+4~* , LOADXR+8, LOADXR+10, LOADXR+13, LOADXR+14, LOADXR+15, KEYCHK+5, KEYCHK+6, KEYCHK+7, UNIQFERR+4, NOSCR+2 , SCRNL+4, SCRL+4 |
DP(0 | N |
DQ | O+2, TR, W, W+2, DQ+1*, A*, B+1, B+2, RE+1!, RD+1 , T+2, P, P+2, V, UNIQ, Z, PR, PR+1, S!, S+1 , S+2, F, F+2, SET+2, LOADXR+5, LOADXR+14, KEYCHK+4, UNIQFERR+3, SCRNL+8, SCRL+6 |
DQ( | TR, W, W+2, A!, B+2, RE+1, P+2, V, UNIQ, Z , S+1, S+2, F*, F+2, SCRNL+8, SCRL+6 |
DQ(0 | B+2 |
DTIME | TR, DQ+1* |
>> DTOUT | TR*, RE+1, S |
DU | RE+1*, P, PR+1, SET+4*, SET+7, READSET~, READSET+2, SCRL+18~ |
DUZ | RD+2, Z |
DUZ("LANG" | R+3, SET+3 |
DUZ(0 | TR, W, RE+1 |
DV | O+1, O+2, RE+1*, N, RD, RD+2, T, T+1, T+3, P , P+1, Z, PR, PR+1, S+1, F+2, F+3, Y, AST+1, NOSCR+2 , NOSCR+3, SCRNL+4, SCRL+4, SCRL+18~ |
FIL | GETXRL~, GETXRL+4 |
FLD | GETXRL~, GETXRL+4 |
FLIST | LOADXR+2~, LOADXR+8, LOADXR+9 |
FRST | PARSE~, PARSE+3!, PARSE+4*, PARSE+5*, PARSE+6 |
I | PARSE+1~, PARSE+5, PARSE+6* |
IT | PARSE~, PARSE+2, PARSE+4 |
LAST | PARSE~, PARSE+3!, PARSE+4* |
LIST | GETXRL~, GETXRL+1!, GETXRL+4*, GETXRL+5! |
OLD | LOADXR+2~, LOADXR+4*, LOADXR+5*, LOADXR+13 |
PFIL | GETXRL~, GETXRL+4 |
RLIST | LOADXR+2~, LOADXR+8, LOADXR+9, LOADXR+10 |
U | TR, W, W+2, RE+1, N, RD, P, P+2, V, UNIQ , Z, PR, R, R+1, S+1, F+2, READSET+2, READSET+3, NOSCR+3, SCRNL+8 , SCRL+6, SCRL+13, SCRL+17, DIC+1, DIC+4, DIC+6 |
X | O+2!*, TR*, N, RD, RD+1, RD+2*, T, P*, P+1!, P+2* , UNIQ!, Z, PR*, PR+1*, R*, R+1*, R+3, S+1*, S+2, F* , F+1*, F+2, F+3, Y, SET+7, READSET~, READSET+2!, READSET+4*, KEYCHK+5, SCRNL+12* , SCRNL+14, SCRL+15*, SCRL+22 |
X("FIELD" | O+2* |
X("FILE" | O+2* |
Y | O, O+1, O+2, P, PR*, PR+1*, R*, R+1*, R+3*, F , Y*, READSET+1~, READSET+3*, READSET+4, SCRNL+12, SCRNL+13, SCRL+15, SCRL+17*, SCRL+19, SCRL+21 |
Y(0 | READSET+4 |
YS | V! |
>> ZTQUEUED | X, UNIQFERR+1, NKEY+1 |