The major codes and the DML function with which each code is associated are listed below. Code 00 applies to both DB and DC/UCF functions; codes 01 through 23 apply to DB functions only; codes 30 through 51 apply to DC/UCF functions only.
Note that each DML function is associated with a single, unique major code, with the exception of the FIND/OBTAIN function. The FIND statement can specify the KEEP function; therefore, execution of a FIND statement can result in a status code whose major code is 06 (KEEP) or 03 (FIND). The OBTAIN statement includes the GET function and can specify the KEEP function; therefore, execution of an OBTAIN statement can result in a status code whose major code is 05 (GET), 06 (KEEP), or 03 (OBTAIN).
|
Component |
Major Code |
DML Function |
|---|---|---|
|
DB |
|
|
|
|
00 |
Any DML function |
|
|
01 |
FINISH |
|
|
02 |
ERASE |
|
|
03 |
FIND/OBTAIN |
|
|
05 |
GET |
|
|
06 |
KEEP |
|
|
07 |
CONNECT |
|
|
08 |
MODIFY |
|
|
09 |
READY |
|
|
11 |
DISCONNECT |
|
|
12 |
STORE |
|
|
14 |
BIND |
|
|
15 |
ACCEPT |
|
|
16 |
IF |
|
|
17 |
RETURN |
|
|
18 |
COMMIT |
|
|
19 |
ROLLBACK |
|
|
20 |
LRF requests |
|
Component |
Major Code |
DML Function |
|---|---|---|
|
DC/UCF |
|
|
|
|
00 |
Any DML function |
|
|
30 |
XCTL/LINK/RETURN |
|
|
31 |
WAIT/POST |
|
|
32 |
GET/FREE STORAGE |
|
|
33 |
SET ABEND EXIT/ABEND |
|
|
34 |
LOAD/DELETE TABLE |
|
|
35 |
GET TIME/SET TIMER |
|
|
36 |
WRITE LOG |
|
|
37 |
ATTACH/CHANGE PRIORITY |
|
|
38 |
BIND/ACCEPT/END TRANSACTION STATISTICS |
|
|
39 |
ENQUEUE/DEQUEUE |
|
|
40 |
SNAP |
|
|
43 |
PUT/GET/DELETE SCRATCH |
|
|
44 |
PUT/GET/DELETE QUEUE |
|
|
45 |
Basic terminal management requests |
|
|
46 |
Mapping terminal management requests |
|
|
47 |
Line terminal management requests |
|
|
48 |
ACCEPT/WRITE PRINTER |
|
|
49 |
SEND MESSAGE |
|
|
50 |
COMMIT TASK/ROLLBACK TASK/FINISH TASK/WRITE JOURNAL |
|
|
51 |
KEEP LONGTERM |
|
|
58 |
DNS request for SVC read/write |
|
Copyright © 2014 CA.
All rights reserved.
|
|