ECXDSSD ;ALB/JAP - Derive DSS Department code ;July 16, 1998
Source file <ECXDSSD.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 |
---|---|---|
DSS Extracts | 2 | ECX DSSDEPT DECODE ECXWRD |
Name | Comments | DBIA/ICR reference |
---|---|---|
DERIVE(ECXSVC,ECXPUNIT,ECXDIV,ECXSUF) | ;entry point for extrinsic function
; input ; ECXSVC = null or pointer to file #730; required ; ECXPUNIT = null or pointer to file #729; required ; ECXDIV = null or pointer to file #727.3; required ; ECXSUF = null or character string; optional ; output ; DSSDEPT = dss department code as ABBCxxx or null ; A=DSS CODE from file (#730) ; BB=DSS PRODUCTION UNIT CODE from file (#729) ; C=DSS DIVISION IDENTIFIER from file (#727.3) ; xxx=suffix of not more than three characters (optional) |
|
GETDIV(ECXDIV) | ;get division portion of dss dept code
; input ; ECXDIV = pointer to file #40.8 or null; required; passed by reference ; output ; ECXDIV = dss division identifier or null |
|
GETSVC(ECXSVC) | ;get service portion of dss dept code
; input ; ECXSVC = pointer to file #730 or null; required; passed by reference ; output ; ECXSVC = dss service code or null |
|
GETPUNIT(ECXPUNIT) | ;get production unit portion of dss dept code
; input ; ECXPUNIT = pointer to file #729 or null; required; passed by reference ; output ; ECXPUNIT = dss production unit code or null |
|
GETSUF(ECXSUF) | ;get suffix portion of dss dept code
; input ; ECXSUF = character string or null; required; passed by reference ; output ; ECXSUF = character string or null; ; input character string will be returned as null |
|
SUF2 | ;ask user for input if necessary, then validate variable ecxsuf
|
|
DECODE | ;allow user to decode a dss department code
|
|
REVERSE(ECXDEPT,ECXDESC) | ;get dss dept code description
; input ; ECXDEPT = dss dept code as ABBCxxx; required ; output ; ECXDESC = code description; passed by reference ; service_name^prod_unit_long_desc^division_name/station number ; note: if suffix (xxx) is present, it is ignored because free text |
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 |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^ECX(727.3 - [#727.3] | Classic Fileman Calls, FIND1^DIC |
^ECX(729 - [#729] | Classic Fileman Calls, FIND1^DIC |
^ECC(730 - [#730] | Classic Fileman Calls, FIND1^DIC |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DG(40.8 - [#40.8] | REVERSE+15 |
^ECC(730 - [#730] | REVERSE+11 |
^ECX(729 - [#729] | REVERSE+13 |
Name | Field # of Occurrence |
---|---|
^(0 | REVERSE+15 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
AGAIN | GETSUF+6~, GETSUF+9*, SUF2+2, SUF2+7*, SUF2+13*, SUF2+18*, SUF2+24*, SUF2+25, SUF2+27, SUF2+29 , SUF2+32*, SUF2+33, SUF2+36*, SUF2+38, SUF2+42*, SUF2+43 |
CODE | DECODE+1~, DECODE+9*, DECODE+11, DECODE+12, DECODE+13 |
DA | GETDIV+5~, GETDIV+12*, GETSVC+5~, GETSVC+12*, GETPUNIT+5~, GETPUNIT+10* |
DESC | DECODE+1~, DECODE+9, DECODE+11, DECODE+12, DECODE+13 |
DIC | GETDIV+5~, GETDIV+10*, GETDIV+12*, GETSVC+5~, GETSVC+10*, GETSVC+12*, GETPUNIT+5~, GETPUNIT+8*, GETPUNIT+10* |
DIC(0 | GETDIV+10*, GETSVC+10*, GETPUNIT+8* |
DIQ | GETDIV+5~, GETDIV+12*, GETSVC+5~, GETSVC+12*, GETPUNIT+5~, GETPUNIT+10* |
DIQ(0 | GETDIV+12*, GETSVC+12*, GETPUNIT+10* |
DIR | GETDIV+22!, GETSVC+21!, GETSUF+6~, SUF2+5!, SUF2+9!, SUF2+23!, DECODE+1~, DECODE+7!, DECODE+16! |
DIR("A" | SUF2+4*, SUF2+8*, SUF2+22*, DECODE+6*, DECODE+15* |
DIR("B" | SUF2+4*, SUF2+22*, DECODE+15* |
DIR(0 | GETDIV+22*, GETSVC+21*, SUF2+4*, SUF2+8*, SUF2+22*, DECODE+6*, DECODE+15* |
DIRUT | GETSUF+6~, SUF2+2, SUF2+10, SUF2+24, DECODE+1~, DECODE+5, DECODE+8 |
DIV | REVERSE+7~, REVERSE+9*, REVERSE+14, REVERSE+15*, REVERSE+16 |
DR | GETDIV+5~, GETDIV+12*, GETSVC+5~, GETSVC+12*, GETPUNIT+5~, GETPUNIT+10* |
DSSDEPT | DERIVE+13~, DERIVE+14*, DERIVE+15, DERIVE+17, DERIVE+19, DERIVE+21, DERIVE+22*, DERIVE+28*, DERIVE+29 |
DTOUT | GETDIV+5~, GETDIV+7, GETSVC+5~, GETSVC+7, GETPUNIT+5~, GETPUNIT+6, GETSUF+6~, DECODE+1~ |
DUOUT | GETDIV+5~, GETDIV+7, GETSVC+5~, GETSVC+7, GETPUNIT+5~, GETPUNIT+6, GETSUF+6~, DECODE+1~ |
ECX | GETDIV+5~, GETSVC+5~, GETPUNIT+5~ |
ECX( | GETDIV+14 |
ECX(729 | GETPUNIT+12 |
ECX(730 | GETSVC+14 |
ECXDEPT | REVERSE~, REVERSE+8, REVERSE+9 |
ECXDESC | REVERSE~, REVERSE+16* |
ECXDIV | DERIVE~, DERIVE+15, DERIVE+16, DERIVE+17, DERIVE+22, GETDIV~, GETDIV+7, GETDIV+11*, GETDIV+12, GETDIV+14* , GETDIV+15 |
ECXERR | REVERSE+10!, REVERSE+12!, REVERSE+14! |
ECXPUNIT | DERIVE~, DERIVE+15, DERIVE+20, DERIVE+21, DERIVE+22, GETPUNIT~, GETPUNIT+6, GETPUNIT+9*, GETPUNIT+10, GETPUNIT+12* |
ECXSUF | DERIVE~, DERIVE+26, DERIVE+27, DERIVE+28, GETSUF~, GETSUF+9, SUF2+11*, SUF2+12, SUF2+13*, SUF2+14 , SUF2+18*, SUF2+24*, SUF2+27, SUF2+32*, SUF2+36*, SUF2+42*, SUF2+45, SUF2+47*, SUF2+48, SUF2+49* , SUF2+50*, SUF2+51*, SUF2+53* |
ECXSVC | DERIVE~, DERIVE+15, DERIVE+18, DERIVE+19, DERIVE+22, GETSVC~, GETSVC+7, GETSVC+11*, GETSVC+12, GETSVC+14* , GETSVC+15 |
>> I | SUF2+27*, SUF2+28, SUF2+48*, SUF2+49 |
IOST | GETDIV+20, GETSVC+19 |
JJ | GETDIV+5~, GETDIV+21*, GETSVC+5~, GETSVC+20* |
LEN | GETSUF+6~, SUF2+11*, SUF2+27, SUF2+47*, SUF2+48 |
OUT | GETSUF+6~, SUF2+46*, SUF2+48, SUF2+49*, SUF2+50*, SUF2+51*, DECODE+1~, DECODE+4*, DECODE+5, DECODE+17* |
PUNIT | REVERSE+7~, REVERSE+9*, REVERSE+12, REVERSE+13*, REVERSE+16 |
SS | GETDIV+5~, GETDIV+21*, GETSVC+5~, GETSVC+20* |
SVC | REVERSE+7~, REVERSE+9*, REVERSE+10, REVERSE+11*, REVERSE+16 |
U | DECODE+11, DECODE+12, DECODE+13, REVERSE+11, REVERSE+13, REVERSE+15, REVERSE+16 |
USER | GETDIV+5~, GETDIV+6*, GETDIV+9*, GETDIV+15, GETSVC+5~, GETSVC+6*, GETSVC+9*, GETSVC+15, GETSUF+6~, GETSUF+9* , SUF2+1, SUF2+43, SUF2+45 |
X | GETDIV+5~, GETSVC+5~, GETPUNIT+5~, GETSUF+6~, SUF2+4!, SUF2+8!, SUF2+10, SUF2+22!, SUF2+27*, SUF2+28 , SUF2+29, SUF2+30, SUF2+33, SUF2+34, SUF2+37, SUF2+48*, SUF2+49, SUF2+50, SUF2+51, SUF2+52 , DECODE+1~, DECODE+6!, DECODE+8, DECODE+15!, REVERSE+10!*, REVERSE+11, REVERSE+12!*, REVERSE+13, REVERSE+14!*, REVERSE+15 |
Y | GETDIV+5~, GETDIV+7, GETDIV+11, GETSVC+5~, GETSVC+7, GETSVC+11, GETPUNIT+5~, GETPUNIT+6, GETPUNIT+9, GETSUF+6~ , SUF2+2, SUF2+4!, SUF2+8!, SUF2+10, SUF2+11, SUF2+22!, SUF2+24, DECODE+1~, DECODE+6!, DECODE+8 , DECODE+9, DECODE+15!, DECODE+17 |
ZERO | GETSUF+6~, SUF2+26*, SUF2+37*, SUF2+39, SUF2+46*, SUF2+52*, SUF2+53 |