Adabas Control Block
Structure
ACB Control Block
DSECT Name |
Field |
Control Block Position |
Offset |
Length (in Bytes) |
Format |
ACBTYPE |
Call Type |
1 |
00 |
1 |
binary |
reserved |
(reserved) |
2 |
01 |
1 |
binary |
ACBCMD |
Command Code |
3-4 |
02 |
2 |
alphanumeric |
ACBCID |
Command ID |
5-8 |
04 |
4 |
alphanumeric / binary |
ACBFNR |
File Number |
9-10 |
08 |
2 |
binary |
ACBRSP |
Response Code |
11-12 |
0A |
2 |
binary |
ACBISN |
ISN |
13-16 |
0C |
4 |
binary |
ACBISL |
ISN Lower Limit |
17-20 |
10 |
4 |
binary |
ACBISQ |
ISN Quantity |
21-24 |
14 |
4 |
binary |
ACBFBL |
Format Buffer Length |
25-26 |
18 |
2 |
binary |
ACBRBL |
Record Buffer Length |
27-28 |
1A |
2 |
binary |
ACBSBL |
Search Buffer Length |
29-30 |
1C |
2 |
binary |
ACBVBL |
Value Buffer Length |
31-32 |
1E |
2 |
binary |
ACBIBL |
ISN Buffer Length |
33-34 |
20 |
2 |
binary |
ACBCOP1 |
Command Option 1 |
35 |
22 |
1 |
alphanumeric |
ACBCOP2 |
Command Option 2 |
36 |
23 |
1 |
alphanumeric |
ACBADD1 |
Additions 1 |
37-44 |
24 |
8 |
alphanumeric / binary |
ACBADD2 |
Additions 2 |
45-48 |
2C |
4 |
alphanumeric / binary |
ACBADD3 |
Additions 3 |
49-56 |
30 |
8 |
alphanumeric |
ACBADD4 |
Additions 4 |
57-64 |
38 |
8 |
alphanumeric |
ACBADD5 |
Additions 5 |
65-72 |
40 |
8 |
alphanumeric / binary |
ACBCMDT |
Command Time |
73-76 |
48 |
4 |
binary |
ACBUSER |
User Area |
77-80 |
4C |
4 |
not applicable |
ACBX Control Block
DSECT Field Name |
Field |
Control Block Position |
Offset |
Length (in bytes) |
Format |
ACBXTYP |
Call Type |
1 |
00 |
1 |
binary |
ACBXRSV1 |
Reserved 1 |
2 |
01 |
1 |
binary |
ACBXVER |
Version Indicator |
3-4 |
02 |
2 |
binary |
ACBXLEN |
ACBX Length |
5-6 |
04 |
2 |
binary |
ACBXCMD |
Command Code |
7-8 |
06 |
2 |
alphanumeric |
ACBXRSV2 |
Reserved 2 |
9-10 |
08 |
2 |
binary |
ACBXRSP |
Response Code |
11-12 |
0A |
2 |
binary |
ACBXCID |
Command ID |
13-16 |
0C |
4 |
alphanumeric/ binary |
ACBXDBID |
Database ID |
17-20 |
10 |
4 |
numeric |
ACBXFNR |
File Number |
21-24 |
14 |
4 |
numeric |
ACBXISNG |
8-Byte ISN |
25-32 |
18 |
8 |
do not use |
ACBXISN |
ISN |
29-32 |
1C |
4 |
binary |
ACBXISLG |
8-Byte ISN Lower Limit |
33-40 |
20 |
8 |
do not use |
ACBXISL |
ISN Lower Limit |
37-40 |
24 |
4 |
binary |
ACBXISQG |
8-Byte ISN Quantity |
41-48 |
28 |
8 |
do not use |
ACBXISQ |
ISN Quantity |
45-48 |
2C |
4 |
binary |
ACBXCOP1 |
Command Option 1 |
49 |
30 |
1 |
alphanumeric |
ACBXCOP2 |
Command Option 2 |
50 |
31 |
1 |
alphanumeric |
ACBXCOP3 |
Command Option 3 |
51 |
32 |
1 |
alphanumeric |
ACBXCOP4 |
Command Option 4 |
52 |
33 |
1 |
alphanumeric |
ACBXCOP5 |
Command Option 5 |
53 |
34 |
1 |
alphanumeric |
ACBXCOP6 |
Command Option 6 |
54 |
35 |
1 |
alphanumeric |
ACBXCOP7 |
Command Option 7 |
55 |
36 |
1 |
alphanumeric |
ACBXCOP8 |
Command Option 8 |
56 |
37 |
1 |
alphanumeric |
ACBXADD1 |
Additions 1 |
57-64 |
38 |
8 |
alphanumeric/ binary |
ACBXADD2 |
Additions 2 |
65-68 |
40 |
4 |
binary |
ACBXADD3 |
Additions 3 |
69-76 |
44 |
8 |
alphanumeric/ binary |
ACBXADD4 |
Additions 4 |
77-84 |
4C |
8 |
alphanumeric |
ACBXADD5 |
Additions 5 |
85-92 |
54 |
8 |
alphanumeric/ binary |
ACBXADD6 |
Additions 6 |
93-100 |
5C |
8 |
alphanumeric/ binary |
ACBXRSV3 |
Reserved 3 |
101-104 |
64 |
4 |
binary |
ACBXERRG |
Error Offset in Buffer (64-bit) |
105-112 |
68 |
8 |
do not use |
ACBXERRA |
Error Offset in Buffer (32-bit) |
109-112 |
6C |
4 |
binary |
ACBXERRB |
Error Character Field |
113-114 |
70 |
2 |
alphanumeric |
ACBXERRC |
Error Subcode |
115-116 |
72 |
2 |
binary |
ACBXERRD |
Error Buffer ID |
117 |
74 |
1 |
alphanumeric |
ACBXERRE |
Reserved for future use |
118 |
75 |
1 |
do not use |
ACBXERRF |
Error Buffer Sequence Number |
119-120 |
76 |
2 |
numeric |
ACBXSUBR |
Subcomponent Response Code |
121-122 |
78 |
2 |
binary |
ACBXSUBS |
Subcomponent Response Subcode |
123-124 |
7A |
2 |
binary |
ACBXSUBT |
Subcomponent Error Text |
125-128 |
7C |
4 |
alphanumeric |
ACBXLCMP |
Compressed Record Length |
129-136 |
80 |
8 |
binary |
ACBXLDEC |
Decompressed Record Length |
137-144 |
88 |
8 |
binary |
ACBXCMDT |
Command Time |
145-152 |
90 |
8 |
binary |
ACBXUSER |
User Area |
153-168 |
98 |
16 |
not applicable |
ACBXRSV4 |
Reserved 4 |
169-193 |
A8 |
24 |
do not touch |