Command decode for CP is done through CFC & CMD, command table is in COM. Operand decode for CP QUERY is HCPQUY. Operand decode for CP SET is HCPSET. Diagnose decode for CP is done in HCPHVC (codes 00-FF) referencing a table in HCPDGNTB, and HCPHVB (codes 100-1FF). Query decode for CP is in DMKCFJ. --------------------------------------------------------- --------------------------------------------------------- SVC 201 (0AC9) is used in DMSITS only to switch to supervisor state after calling some other routine. I.E. Somebody does a SVC 202 to call routine XYZ, DMSITS calls XYZ, and upon return, does a SVC 201 to insure a priveleged PSW. There's special code inside DMSITS to insure a SVC 201 came from within DMSITS. --------- Command decode and SVC 202 (0ACA) decode for CMS is in DMSFNC. --------- SVC 203 (0ACB) calls are routed by DMSITS by referring to DMSFNC3. The halfword following the SVC 203 (x'0ACB') instruction is the code. - If positive, DMSITS will ABEND if the calling routine returns R15 ^= 0. Else, the caller will handle non-zero return codes. - The low order byte of the code's absolute value is used to index the function code table (DMSFNC3). The sequence is LH R8,CODE203 LPR R15,R8 N R15,=A(X'FF') - Bits 1-7 (X'7F00') of the code are used as flag bits. - If the address in DMSFNC3 is 0 like it is for DSSSVT & CMSLINK, the routine is invoked via SVC 202, not branched to. I dunno what DSSSVT or CMSLINK are. - Currently, there are 16 codes defined. They are Common Name Codes Entry Point Comments ----------- -------- ----------- -------- OLDFREE 1 or FF DMSFREEX OLDFRET 2 or FE DMSFRETX DSSSVT 3 or FD DSSSVT Called via SVC 202 DMSFREE 4 or FC DMSFREB DMSFRET 5 or FB DMSFREB DMSERR 6 or FA DMSERR STRINIT 7 or F9 DMSSTGSB DMSKEY 8 or F8 DMSITSK DMSEXS 9 or F7 DMSITSXS DMSFRES 10 or F6 DMSFRES DMSABN 11 or F5 DMSABNSV DMSSMNCL 12 or F4 DMSSTGCL TSOGET 13 or F3 DMSSTGSV RELPAGES 14 or F2 DMSSTGSV COMPSWT 15 or F1 DMSSTGSV CMSLINK 16 or F0 CMSLINK Called via SVC 202