— Adabas Programmer's Reference Summary —
Adabas Commands
Each Adabas command is described in the table below; select a command to
see detailed control block and buffer information for it. In addition, the
following summary tables are provided showing the use of the ACB, ACBX, and
buffers by all Adabas commands:
Note:
We recommend that you set unused ACB and ACBX fields to binary zeros
before a direct call is initiated.
Command Code |
Summary |
Description |
A1 |
Update record |
Update record(s) (hold option) |
BT |
Backout transaction |
Remove database updates for ET logic users |
C1 |
Write checkpoint |
Write command ID, PLOG, RABN RABN checkpoint, buffer
flush option
|
C3 |
Write SYNX-03 checkpoint |
Write SYNX-03 checkpoint for exclusive control update
users; option to store user data
|
C5 |
Write user data to protection log |
Write user data on SIBA/PLOG |
CL |
Close user session |
End ET session and update database |
E1 |
Delete record / refresh file |
Delete record (hold option) or refresh file |
ET |
End transaction |
End and save current transaction |
HI |
Hold record |
Prevent record update by other users |
L1 |
Read record |
Read record of specified ISN |
L2 |
Read physical sequential record |
Read records in physical order |
L3 |
Read logical sequential record |
Read records in descriptor value order |
L4 |
Read and hold record |
Read record and hold, "wait for held record/issue
return code" option
|
L5 |
Read physical sequential record and hold |
Read records in physical order and hold, "wait/issue
return code" option
|
L6 |
Read logical sequential record and hold |
Read records in descriptor value order with
"wait/issue return code" option
|
L9 |
Read descriptor values |
Read the values of a specified descriptor |
LF |
Read field definition |
Read the characteristics of all fields in a
file
|
N1 |
Add record with Adabas-assigned ISN |
Add new database record with ISN assigned by
Adabas
|
N2 |
Add record with user-assigned ISN |
Add new database record with user-assigned
ISN
|
OP |
Open user session |
Open user session |
RC |
Release command ID or global format ID |
Release one or more command IDs or a global format ID
for the issuing user
|
RE |
Read ET user data |
Read ET data for this, another, or all users |
RI |
Release held record and ISN |
Release held record and ISN |
S1 |
Find records |
Return count and ISNs of records satisfying the
search criterion
|
S2 |
Find records in user-specified order |
Return count of records and ISNs in user-specified
order
|
S4 |
Find records and hold |
Return count and ISNs of records satisfying the
search criterion and put first ISN in list on hold
|
S5 |
Find coupled ISNs |
Return or save a list of coupled ISNs for the
specified file
|
S8 |
Process ISN lists |
Combine two ISN lists from the same file with an AND,
OR, or NOT operation
|
S9 |
Sort ISN lists |
Sort ISN list in ascending ISN or
descriptor-specified sequence
|
Adabas includes some V* and Y* commands, which you may see mentioned in Adabas shutdown
statistics or in Adabas Online System (AOS) screens. These commands are used
internally by Adabas and Adabas add-on products and should not be used in
direct calls in your applications. Should you use them, errors will result.
Adabas Command ACBs
ACB Command Buffers
Adabas Command ACBXs
ACBX Command ABDs and Buffers
A1 Command -- Update Record
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
alphanumeric / binary |
F |
U |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
F |
U |
ISN Lower Limit |
17-20 |
binary |
-- |
A1 |
ISN Quantity |
21-24 |
binary |
-- |
A1 |
Format Buffer Length |
25-26 |
binary |
F |
U |
Record Buffer Length |
27-28 |
binary |
F |
U |
|
29-34 |
-- |
-- |
-- |
Command Option 1 / 2 |
35-36 |
alphanumeric |
F |
U |
|
37-44 |
-- |
-- |
-- |
Additions 2 |
45-48 |
alphanumeric / binary |
|
A |
Additions 3 |
49-56 |
alphanumeric |
F |
A |
Additions 4 |
57-64 |
alphanumeric |
F |
A |
Additions 5 |
65-72 |
alphanumeric |
F |
U |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Notes
-
These fields are used and not reset by Adabas if coupled files are
used.
Buffer Areas
Buffer |
Before Adabas Call |
After Adabas Call |
Format |
F |
U |
Record |
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
binary |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
binary |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
binary |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
U |
Command ID |
13-16 |
alphanumeric/ binary |
F |
U |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-28 |
--- |
--- |
--- |
ISN |
29-32 |
binary |
F |
U |
|
33-36 |
--- |
--- |
--- |
ISN Lower Limit |
37-40 |
binary |
--- |
A1 |
|
41-44 |
--- |
--- |
--- |
ISN Quantity |
45-48 |
binary |
--- |
A1 |
Command Option 1 |
49 |
alphanumeric |
F |
U |
Command Option 2 |
50 |
alphanumeric |
F |
U |
|
51-64 |
--- |
--- |
--- |
Additions 3 |
69-76 |
alphanumeric/ binary |
F |
A |
Additions 4 |
77-84 |
alphanumeric |
F |
A |
Additions 5 |
85-92 |
alphanumeric/ binary |
F |
U |
|
93-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-128 |
--- |
--- |
--- |
Compressed Record Length |
129-136 |
binary |
--- |
A |
Decompressed Record Length |
137-144 |
binary |
--- |
A |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
|
169-193 |
--- |
--- |
--- |
Notes
-
These fields are used and not reset by Adabas if coupled files are
used.
ABDs and Buffers
ABD and Buffer |
Before Adabas Call |
After Adabas Call |
Format |
F |
U |
Record |
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
--- |
Not used |
BT Command -- Back Out Transaction
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
binary |
-- |
A |
File Number * |
9-10 |
binary |
F * |
U |
Response Code |
11-12 |
binary |
-- |
A |
|
13-16 |
-- |
-- |
-- |
ISN Lower Limit |
17-20 |
binary |
F |
U |
|
21-32 |
-- |
-- |
-- |
ISN Buffer Length ** |
33-34 |
binary |
F ** |
U |
Command Option 1 |
35 |
alphanumeric |
F |
U |
Command Option 2 |
36 |
alphanumeric |
F |
U |
|
37-72 |
-- |
-- |
-- |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
Buffer |
Before Adabas Call |
After Adabas Call |
ISN **
|
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Required only if Command Option 2 is
specified
|
** |
Required only if Command Option 1 is
specified
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
binary |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
--- |
A |
Database ID* |
17-20 |
numeric |
F* |
U |
File Number* |
21-24 |
numeric |
F* |
U |
|
25-36 |
--- |
--- |
--- |
ISN Lower Limit |
37-40 |
binary |
F |
U |
|
45-48 |
--- |
--- |
--- |
Command Option 1 |
49 |
alphanumeric |
F |
U |
Command Option 2 |
50 |
alphanumeric |
F |
U |
Command Option 3 |
51 |
alphanumeric |
F |
U |
|
52-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
|
169-193 |
--- |
--- |
--- |
ABDs and Buffers
ABD and Buffer |
Before Adabas Call |
After Adabas Call |
ISN **
|
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Required only if Command Option 2 is
specified
|
** |
Required only if Command Option 1 is
specified
|
--- |
Not used |
C1 Command -- Record Checkpoint
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
alphanumeric |
F |
A |
File Number * |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
|
13-34 |
-- |
-- |
-- |
Command Option 1 |
35 |
alphanumeric |
F |
U |
Command Option 2 |
36 |
alphanumeric |
F |
U |
|
37-72 |
-- |
-- |
-- |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
None used.
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
A database ID is only necessary if you are accessing
a database other than the application's default database (read in by ADARUN
DBID parameter, provided in the loaded link globals table, or linked with the
link routine).
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
F |
A |
Database ID* |
17-20 |
numeric |
F |
U |
|
21-48 |
--- |
--- |
--- |
Command Option 1 |
49 |
alphanumeric |
F |
U |
Command Option 2 |
50 |
alphanumeric |
F |
U |
|
51-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
|
169-193 |
--- |
--- |
--- |
ABDs and Buffers
None used.
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
A database ID is only necessary if you are accessing
a database other than the application's default database (read in by ADARUN
DBID parameter, provided in the loaded link globals table, or linked with the
link routine).
|
--- |
Not used |
C3 Command -- Write Checkpoint
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
|
5-8 |
-- |
-- |
-- |
File Number ** |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
|
13-26 |
-- |
-- |
-- |
Record Buffer Length |
27-28 |
binary |
F |
U |
|
29-35 |
-- |
-- |
-- |
Command Option 2 |
36 |
alphanumeric |
F |
U |
|
37-72 |
-- |
-- |
-- |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
Buffer |
Before Adabas Call |
After Adabas Call |
Format |
* |
|
Record |
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Not used but must be included in parameter list of
call statement
|
** |
A database ID is only necessary if you are accessing
a database other than the application's default database (read in by ADARUN
DBID parameter, provided in the loaded link globals table, or linked with the
link routine).
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
--- |
13-16 |
--- |
--- |
--- |
Database ID** |
17-20 |
numeric |
F |
U |
|
21-49 |
--- |
--- |
--- |
Command Option 2 |
50 |
alphanumeric |
F |
U |
|
51-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
|
169-193 |
--- |
--- |
--- |
ABDs and Buffers
ABD and Buffer |
Before Adabas Call |
After Adabas Call |
Format
|
* |
|
Record
|
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Not used but should be included in Adabas call or one
will be automatically generated.
|
** |
A database ID is only necessary if you are accessing
a database other than the application's default database (read in by ADARUN
DBID parameter, provided in the loaded link globals table, or linked with the
link routine).
|
-- |
Not used |
C5 Command -- Write User Data to PLOG
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
|
5-8 |
-- |
-- |
-- |
File Number ** |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
|
13-26 |
-- |
-- |
-- |
Record Buffer Length |
27-28 |
binary |
F |
U |
|
29-34 |
-- |
-- |
-- |
Command Option 1*** |
35 |
alphanumeric |
F |
U |
|
36 |
-- |
-- |
-- |
Additions 1*** |
37-44 |
alphanumeric |
F |
U |
|
45-72 |
-- |
-- |
-- |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
Buffer |
Before Adabas Call |
After Adabas Call |
Format |
* |
|
Record |
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Not used but must be included in parameter list of
call statement
|
** |
A database ID is only necessary if you are accessing
a database other than the application's default database (read in by ADARUN
DBID parameter, provided in the loaded link globals table, or linked with the
link routine).
However, if you are using Event Replicator for Adabas and the Command Option 1 field is set
to "R", a file number must be specified to identify
the file to which the C5 command applies. For more information, read your Event Replicator for Adabas
documentation.
|
*** |
Only used if you are using Event Replicator for Adabas. For more
information, read your Event Replicator for Adabas documentation.
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
|
13-16 |
--- |
--- |
--- |
Database ID** |
17-20 |
numeric |
F |
U |
File Number*** |
21-24 |
numeric |
F |
U |
|
25-48 |
--- |
--- |
--- |
Command Option 1*** |
49 |
alphanumeric |
F |
U |
|
50-56 |
--- |
--- |
--- |
Additions 1*** |
57-64 |
alphanumeric/ binary |
F |
U |
|
65-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
ABD and Buffer |
Before Adabas Call |
After Adabas Call |
Format
|
* |
|
Record
|
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Not used but should be included in Adabas call or one
will be automatically generated.
|
** |
A database ID is only necessary if you are accessing
a database other than the application's default database (read in by ADARUN
DBID parameter, provided in the loaded link globals table, or linked with the
link routine).
However, if you are using Event Replicator for Adabas and the Command Option 1 field is set
to "R", a file number must be specified to identify
the file to which the C5 command applies. For more information, read your Event Replicator for Adabas
documentation.
|
*** |
Only used if you are using Event Replicator for Adabas. For more
information, read your Event Replicator for Adabas documentation.
|
--- |
Not used |
CL Command -- Close Session
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
binary |
-- |
A |
File Number *** |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
-- |
A |
ISN Lower Limit |
17-20 |
binary |
-- |
A |
ISN Quantity |
21-24 |
binary |
-- |
A |
|
25-26 |
-- |
-- |
-- |
Record Buffer Length |
27-28 |
binary |
F * |
U |
|
29-35 |
-- |
-- |
-- |
Command Option 2 |
36 |
alphanumeric |
F |
U |
|
37-72 |
-- |
-- |
-- |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
Buffer |
Before Adabas Call |
After Adabas Call |
Format * |
** |
-- |
Record * |
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Required only if user data is to be stored |
** |
Not used but must be included in parameter list of
call statement if user data to be stored
|
*** |
A database ID is only necessary if you are accessing
a database other than the application's default database (read in by ADARUN
DBID parameter, provided in the loaded link globals table, or linked with the
link routine).
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
--- |
A |
Database ID*** |
17-20 |
numeric |
F |
U |
|
21-28 |
--- |
--- |
--- |
Number of I/Os |
29-32 |
binary |
--- |
A |
|
33-36 |
--- |
--- |
--- |
Number of Commands |
37-40 |
binary |
--- |
A |
CPU Time |
41-48 |
binary |
--- |
A |
|
49 |
--- |
--- |
--- |
Command Option 2 |
50 |
alphanumeric |
F |
U |
|
51-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
ABD and Buffer |
Before Adabas Call |
After Adabas Call |
Format *
|
** |
-- |
Record *
|
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Required only if user data to be stored |
** |
Not used but should be included in Adabas call or one
will be automatically generated.
|
*** |
A database ID is only necessary if you are accessing
a database other than the application's default database (read in by ADARUN
DBID parameter, provided in the loaded link globals table, or linked with the
link routine).
|
-- |
Not used |
E1 Command -- Delete Record
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
alphanumeric / binary |
F |
U |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
F |
U |
ISN Lower Limit |
17-20 |
binary |
-- |
A1 |
ISN Quantity |
21-24 |
binary |
-- |
A1 |
|
25-34 |
-- |
-- |
-- |
Command Option 1 |
35 |
alphanumeric |
F |
U |
|
36-48 |
-- |
-- |
-- |
Additions 3 |
49-56 |
alphanumeric |
F |
A |
Additions 4 |
57-64 |
alphanumeric |
F |
A |
|
65-72 |
-- |
-- |
-- |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Notes
-
These fields are used and not reset by Adabas if coupled files are
used.
Buffer Areas
None used.
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
F |
U |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-28 |
|
--- |
--- |
ISN |
29-32 |
binary |
F |
U |
|
33-36 |
|
--- |
--- |
ISN Lower Limit |
37-40 |
binary |
--- |
A1 |
|
41-44 |
|
--- |
--- |
ISN Quantity |
45-48 |
binary |
--- |
A1 |
Command Option 1 |
49 |
alphanumeric |
F |
U |
|
50-68 |
--- |
--- |
--- |
Additions 3 |
69-76 |
alphanumeric/ binary |
F |
A |
Additions 4 |
77-84 |
alphanumeric |
F |
A |
|
85-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
Notes
-
These fields are used and not reset by Adabas if coupled files are
used.
ABDs and Buffers
None used.
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
--- |
Not used |
ET Command -- End Transaction
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
binary |
-- |
A |
File Number**** |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
|
13-16 |
-- |
-- |
-- |
ISN Lower Limit |
17-20 |
binary |
F |
U |
ISN Quantity |
21-24 |
binary |
-- |
A |
|
25-26 |
-- |
-- |
|
Record Buffer Length |
27-28 |
binary |
F * |
U |
|
29-32 |
-- |
-- |
-- |
ISN Buffer Length ** |
33-34 |
binary |
F ** |
U |
Command Option 1 |
35 |
alphanumeric |
F |
U |
Command Option 2 |
36 |
alphanumeric |
F |
U |
|
37-72 |
-- |
-- |
-- |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
Buffer |
Before Adabas Call |
After Adabas Call |
Format *
|
*** |
-- |
Record *
|
F |
U |
ISN **
|
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Required only if ET data is to be stored |
** |
Required for hold ISN option; optional for multifetch
option
|
*** |
Not used but must be included in parameter list of
call statement if ET data is to be stored
|
**** |
A database ID is only necessary if you are accessing
a database other than the application's default database (read in by ADARUN
DBID parameter, provided in the loaded link globals table, or linked with the
link routine).
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
--- |
A |
Database ID**** |
17-20 |
numeric |
F |
U |
|
21-36 |
--- |
--- |
--- |
ISN Lower Limit |
37-40 |
binary |
F |
U |
|
41-44 |
--- |
--- |
--- |
ISN Quantity |
45-48 |
binary |
--- |
A |
Command Option 1 |
49 |
alphanumeric |
F |
U |
Command Option 2 |
50 |
alphanumeric |
F |
U |
Command Option 3 |
51 |
alphanumeric |
F |
U |
|
52-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
ABD and Buffer |
Before Adabas Call |
After Adabas Call |
Format *
|
*** |
-- |
Record *
|
F |
U |
ISN **
|
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Required only of ET data to be stored |
** |
Required for hold ISN option; optional for multifetch
option
|
*** |
Not used but should be included in Adabas call if ET
data is to be stored. If not specified, one will be automatically
generated.
|
**** |
A database ID is only necessary if you are accessing
a database other than the application's default database (read in by ADARUN
DBID parameter, provided in the loaded link globals table, or linked with the
link routine).
|
--- |
Not used |
HI Command -- Hold Record
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
|
5-8 |
-- |
-- |
-- |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
F |
U |
|
17-34 |
-- |
-- |
-- |
Command Option 1 |
35 |
alphanumeric |
F |
U |
|
36-72 |
-- |
-- |
-- |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
None used.
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
--- |
13-16 |
--- |
--- |
--- |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-28 |
--- |
--- |
--- |
ISN |
29-32 |
binary |
F |
U |
|
33-48 |
--- |
--- |
--- |
Command Option 1 |
49 |
alphanumeric |
F |
U |
|
50 |
--- |
--- |
--- |
Command Option 3 |
51 |
alphanumeric |
F |
U |
|
52-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
Buffer Areas
None used.
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
-- |
Not used |
L1/L4 Commands -- Read Record
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
alphanumeric |
F |
U |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
F |
U * |
ISN Lower Limit |
17-20 |
binary |
F |
U |
|
21-24 |
-- |
-- |
-- |
Format Buffer Length |
25-26 |
binary |
F |
U |
Record Buffer Length |
27-28 |
binary |
F |
U |
|
29-32 |
-- |
-- |
-- |
ISN Buffer Length ** |
33-34 |
binary |
F |
U |
Command Option 1 |
35 |
alphanumeric |
F |
U |
Command Option 2 |
36 |
alphanumeric |
F |
U |
|
37-44 |
-- |
-- |
-- |
Additions 2 |
45-48 |
binary / binary |
-- |
A |
Additions 3 |
49-56 |
alphanumeric |
F |
A |
Additions 4 |
57-64 |
alphanumeric |
F |
A |
Additions 5 |
65-72 |
alphanumeric |
F |
U |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
Buffer |
Before Adabas Call |
After Adabas Call |
Format
|
F |
U |
Record
|
-- |
A |
ISN **
|
-- |
A |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Except for special options |
** |
The ISN buffer and length are required only if
the multifetch or prefetch option is specified
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
F |
U |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-28 |
--- |
--- |
--- |
ISN |
29-32 |
binary |
F |
U* |
|
33-36 |
--- |
--- |
--- |
ISN Lower Limit |
37-40 |
binary |
F |
U |
|
41-48 |
--- |
--- |
--- |
Command Option 1 |
49 |
alphanumeric |
F |
U |
Command Option 2 |
50 |
alphanumeric |
F |
U |
Command Option 3 (L4 only) |
51 |
alphanumeric |
F |
U |
|
52-64 |
--- |
--- |
--- |
Additions 3 |
69-76 |
alphanumeric/ binary |
F |
A |
Additions 4 |
77-84 |
alphanumeric |
F |
A |
Additions 5 |
85-92 |
alphanumeric/ binary |
F |
U |
|
93-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-128 |
--- |
--- |
--- |
Compressed Record Length |
129-136 |
binary |
--- |
A |
Decompressed Record Length |
137-144 |
binary |
--- |
A |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Except for special options |
** |
The multifetch buffer is required only if the
multifetch option is specified.
|
--- |
Not used |
L2/L5 Commands -- Read Physical Sequential
Record
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
alphanumeric |
F |
U |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
F |
A |
ISN Lower Limit |
17-20 |
binary |
F |
U |
|
21-24 |
-- |
-- |
-- |
Format Buffer Length |
25-26 |
binary |
F |
U |
Record Buffer Length |
27-28 |
binary |
F |
U |
|
29-32 |
-- |
-- |
-- |
ISN Buffer Length * |
33-34 |
binary |
F |
U |
Command Option 1 |
35 |
alphanumeric |
F |
U |
|
36-44 |
-- |
-- |
-- |
Additions 2 |
45-48 |
binary / binary |
-- |
A |
Additions 3 |
49-56 |
alphanumeric |
F |
A |
Additions 4 |
57-64 |
alphanumeric |
F |
A |
Additions 5 |
65-72 |
alphanumeric |
F |
U |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
Buffer |
Before Adabas Call |
After Adabas Call |
Format |
F** |
U |
Record |
-- |
A |
ISN *
|
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
The ISN buffer and length are required only of
the multifetch or prefetch option is specified
|
** |
May contain compress option control characters
"C."
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
F |
U |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-28 |
--- |
--- |
--- |
ISN |
29-32 |
binary |
F |
A |
|
33-36 |
--- |
--- |
--- |
ISN Lower Limit |
37-40 |
binary |
F |
U |
|
41-48 |
--- |
--- |
--- |
Command Option 1 |
49 |
alphanumeric |
F |
U |
|
50 |
--- |
--- |
--- |
Command Option 3 (L5 only) |
51 |
alphanumeric |
F |
U |
|
52-64 |
--- |
--- |
--- |
Additions 3 |
69-76 |
alphanumeric/ binary |
F |
A |
Additions 4 |
77-84 |
alphanumeric |
F |
A |
Additions 5 |
85-92 |
alphanumeric/ binary |
F |
U |
|
93-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-128 |
--- |
--- |
--- |
Compressed Record Length |
129-136 |
binary |
--- |
A |
Decompressed Record Length |
137-144 |
binary |
--- |
A |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
A multifetch buffer is required only if the
multifetch option is specified.
|
** |
May contain compress option control characters
"C."
|
--- |
Not used |
L3/L6 Commands -- Read Logical Sequential
Record
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
binary |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
alphanumeric |
F |
U |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
F |
A |
ISN Lower Limit |
17-20 |
binary |
F |
U |
|
21-24 |
-- |
-- |
-- |
Format Buffer Length |
25-26 |
binary |
F |
U |
Record Buffer Length |
27-28 |
binary |
F |
U |
Search Buffer Length |
29-30 |
binary |
F * |
U |
Value Buffer Length |
31-32 |
binary |
F * |
U |
ISN Buffer Length ** |
33-34 |
binary |
F |
U |
Command Option 1 |
35 |
alphanumeric |
F |
U |
Command Option 2 |
36 |
alphanumeric |
F |
U |
Additions 1 |
37-44 |
alphanumeric |
F |
A |
Additions 2 |
45-48 |
binary / binary |
-- |
A |
Additions 3 |
49-56 |
alphanumeric |
F |
A |
Additions 4 |
57-64 |
alphanumeric |
F |
A |
Additions 5 |
65-72 |
alphanumeric |
F |
U |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Required only if value start option is being
used
|
** |
The ISN buffer and length is required only if
the multifetch or prefetch option is specified.
|
*** |
May contain compress option control characters
"C."
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
F |
U |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-28 |
--- |
--- |
--- |
ISN |
29-32 |
binary |
F |
A |
|
33-36 |
--- |
--- |
--- |
ISN Lower Limit |
37-40 |
binary |
F |
U |
|
41-48 |
--- |
--- |
--- |
Command Option 1 |
49 |
alphanumeric |
F |
U |
Command Option 2 |
50 |
alphanumeric |
F |
U |
Command Option 3 (L6 only) |
51 |
alphanumeric |
F |
U |
|
52-56 |
--- |
--- |
--- |
Additions 1 |
57-64 |
alphanumeric/ binary |
F |
A |
Additions 3 |
69-76 |
alphanumeric/ binary |
F |
A |
Additions 4 |
77-84 |
alphanumeric |
F |
A |
Additions 5 |
85-92 |
alphanumeric/ binary |
F |
U |
|
93-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-128 |
--- |
--- |
--- |
Compressed Record Length |
129-136 |
binary |
--- |
A |
Decompressed Record Length |
137-144 |
binary |
--- |
A |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Required only if value start option is being
used
|
** |
The multifetch buffer is required only if the
multifetch option is specified.
|
*** |
May contain compress option control characters
"C."
|
--- |
Not used |
L9 Command -- Read Descriptor Values
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
alphanumeric |
F |
U |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
-- |
A |
ISN Lower Limit |
17-20 |
binary |
F |
A |
ISN Quantity |
21-24 |
binary |
-- |
A |
Format Buffer Length |
25-26 |
binary |
F |
U |
Record Buffer Length |
27-28 |
binary |
F |
U |
Search Buffer Length |
29-30 |
binary |
F |
U |
Value Buffer Length |
31-32 |
binary |
F |
U |
ISN Buffer Length * |
33-34 |
binary |
F |
U |
Command Option 1 |
35 |
alphanumeric |
F |
U |
Command Option 2 |
36 |
alphanumeric |
F |
U |
Additions 1 |
37-44 |
alphanumeric |
F |
U |
Additions 2 |
45-48 |
binary |
-- |
A |
Additions 3 |
49-56 |
alphanumeric |
F |
A |
|
57-64 |
-- |
-- |
-- |
Additions 5 |
65-72 |
alphanumeric |
F |
U |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
The ISN buffer and length required only if the
multifetch or prefetch option is specified
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
F |
U |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-28 |
--- |
--- |
--- |
ISN |
29-32 |
binary |
--- |
A |
|
33-36 |
--- |
--- |
--- |
ISN Lower Limit |
37-40 |
binary |
F |
A |
|
41-44 |
--- |
--- |
--- |
ISN Quantity |
45-48 |
binary |
--- |
A |
Command Option 1 |
49 |
alphanumeric |
F |
U |
Command Option 2 |
50 |
alphanumeric |
F |
U |
|
51-56 |
--- |
--- |
--- |
Additions 1 |
57-64 |
alphanumeric/ binary |
F |
U |
--- |
65-68 |
--- |
--- |
--- |
Additions 3 |
69-76 |
alphanumeric/ binary |
F |
A |
|
77-84 |
--- |
--- |
--- |
Additions 5 |
85-92 |
alphanumeric/ binary |
F |
U |
|
93-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-128 |
--- |
--- |
--- |
Compressed Record Length |
129-136 |
binary |
--- |
A |
Decompressed Record Length |
137-144 |
binary |
--- |
A |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
The multifetch buffer is required only if the
multifetch option is specified
|
--- |
Not used |
LF Command -- Read Field Definitions
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
|
5-8 |
-- |
-- |
-- |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
|
13-26 |
-- |
-- |
-- |
Record Buffer Length |
27-28 |
binary |
F |
U |
|
29-35 |
-- |
-- |
-- |
Command Option 2 |
36 |
alphanumeric |
F |
U |
|
37-48 |
-- |
-- |
-- |
Additions 3 |
49-56 |
alphanumeric |
F |
A |
|
57-72 |
-- |
-- |
-- |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
Buffer |
Before Adabas Call |
After Adabas Call |
Format |
* |
-- |
Record |
-- |
A |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Not used but must be included in parameter list
of call statement
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
|
13-16 |
--- |
--- |
--- |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-49 |
--- |
--- |
--- |
Command Option 2 |
50 |
alphanumeric |
F |
U |
|
51-68 |
--- |
--- |
--- |
Additions 3 |
69-76 |
alphanumeric/ binary |
F |
A |
|
77-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-128 |
--- |
--- |
--- |
Compressed Record Length |
129-136 |
binary |
--- |
A |
Decompressed Record Length |
137-144 |
binary |
--- |
A |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
ABD and Buffer |
Before Adabas Call |
After Adabas Call |
Format |
* |
-- |
Record |
-- |
A |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Not used but should be included in Adabas call or one
will be automatically generated.
|
-- |
Not used |
N1/N2 Commands -- Add New Record
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
alphanumeric |
F |
U |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
F |
A/U1 |
ISN Lower Limit |
17-20 |
binary |
-- |
A2 |
ISN Quantity |
21-24 |
binary |
-- |
A2 |
Format Buffer Length |
25-26 |
binary |
F |
U |
Record Buffer Length |
27-28 |
binary |
F |
U |
|
29-44 |
-- |
-- |
-- |
Additions 2 |
45-48 |
alphanumeric |
-- |
A |
Additions 3 |
49-56 |
alphanumeric |
F |
A |
Additions 4 |
57-64 |
alphanumeric |
F |
A |
Additions 5 |
65-72 |
alphanumeric |
F |
U |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Notes
-
Supplied by Adabas for N1; unchanged for N2.
-
These fields are used and not reset by Adabas if coupled files are
used.
Buffer Areas
Buffer |
Before Adabas Call |
After Adabas Call |
Format |
F |
U |
Record |
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
F |
U |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-28 |
--- |
--- |
--- |
ISN |
29-32 |
binary |
F |
A/U1 |
|
33-36 |
--- |
--- |
--- |
ISN Lower Limit |
37-40 |
binary |
--- |
A2 |
|
41-44 |
--- |
--- |
--- |
ISN Quantity |
45-48 |
binary |
--- |
A2 |
|
49-64 |
--- |
--- |
--- |
Additions 3 |
69-76 |
alphanumeric/ binary |
F |
A |
Additions 4 |
77-84 |
alphanumeric |
F |
A |
Additions 5 |
85-92 |
alphanumeric/ binary |
F |
U |
|
93-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-128 |
--- |
--- |
--- |
Compressed Record Length |
129-136 |
binary |
--- |
A |
Decompressed Record Length |
137-144 |
binary |
--- |
A |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
Notes
-
Supplied by Adabas for N1; unchanged for N2.
-
These fields are used and not reset by Adabas if coupled files are
used.
ABDs and Buffers
ABD and Buffer |
Before Adabas Call |
After Adabas Call |
Format |
F |
U |
Record |
F |
U |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
--- |
Not used |
OP Command -- Open User Session
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
alphanumeric |
-- |
A |
File Number** |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
-- |
A |
ISN Lower Limit |
17-20 |
binary |
F |
A |
ISN Quantity |
21-24 |
binary |
F |
A |
|
25-26 |
-- |
-- |
-- |
Record Buffer Length |
27-28 |
binary |
F |
U |
|
29-34 |
-- |
-- |
-- |
Command Option 1 |
35 |
alphanumeric |
F |
U |
Command Option 2 |
36 |
alphanumeric |
F |
U |
Additions 1 |
37-44 |
alphanumeric |
F |
U |
Additions 2 |
45-48 |
alphanumeric |
-- |
A |
|
49-56 |
-- |
-- |
-- |
Additions 4 |
57-64 |
binary |
F |
A |
Additions 5 |
65-72 |
binary |
-- |
A |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
Buffer |
Before Adabas Call |
After Adabas Call |
Format |
* |
|
Record |
F |
A |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Not used but must be included in parameter list of
the call statement
|
** |
A database ID is only necessary if you are accessing
a database other than the application's default database (read in by ADARUN
DBID parameter, provided in the loaded link globals table, or linked with the
link routine).
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
--- |
A |
Database ID** |
17-20 |
numeric |
F |
U |
|
21-28 |
--- |
--- |
--- |
ISN |
29-32 |
binary |
--- |
A |
|
33-36 |
--- |
--- |
--- |
ISN Lower Limit |
37-40 |
binary |
F |
A |
|
41-44 |
--- |
--- |
--- |
ISN Quantity |
45-48 |
binary |
F |
A |
Command Option 1 |
49 |
alphanumeric |
F |
U |
Command Option 2 |
50 |
alphanumeric |
F |
U |
|
51-56 |
--- |
--- |
--- |
Additions 1 |
57-64 |
alphanumeric/ binary |
F |
U |
Additions 2 |
65-68 |
binary |
--- |
A |
|
69-76 |
--- |
--- |
--- |
Additions 4 |
77-84 |
alphanumeric |
F |
A |
Additions 5 |
85-92 |
alphanumeric/ binary |
--- |
A |
|
93-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
ABD and Buffer |
Before Adabas Call |
After Adabas Call |
Format
|
* |
|
Record |
F |
A |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Not used but should be included in Adabas call or one
will be automatically generated.
|
** |
A database ID is only necessary if you are accessing
a database other than the application's default database (read in by ADARUN
DBID parameter, provided in the loaded link globals table, or linked with the
link routine).
|
-- |
Not used |
RC Command -- Release Command ID or Global Format
ID
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
alphanumeric |
F |
U |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
|
13-34 |
-- |
-- |
-- |
Command Option 1 |
35 |
alphanumeric |
F |
U |
Command Option 2 |
36 |
alphanumeric |
F |
U |
Additions 1 |
37-44 |
alphanumeric |
F |
U |
|
45-64 |
-- |
-- |
-- |
Additions 5 |
65-72 |
alphanumeric |
F |
U |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
None used.
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
F |
U |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-48 |
--- |
--- |
--- |
Command Option 1 |
49 |
alphanumeric |
F |
U |
Command Option 2 |
50 |
alphanumeric |
F |
U |
|
51-56 |
--- |
--- |
--- |
Additions 1 |
57-64 |
alphanumeric/ binary |
F |
U |
|
65-84 |
|
--- |
--- |
Additions 5 |
85-92 |
alphanumeric/ binary |
F |
U |
|
93-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
None used.
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
-- |
Not used |
RE Command -- Read ET User Data
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
binary |
-- |
A |
File Number **** |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
F |
A |
|
17-26 |
-- |
-- |
-- |
Record Buffer Length |
27-28 |
binary |
F |
U |
|
29-34 |
-- |
-- |
-- |
Command Option 1 |
35 |
alphanumeric |
F |
U |
|
36 |
-- |
-- |
-- |
Additions 1 |
37-44 |
alphanumeric |
F * |
U/A ** |
Additions 2 |
45-48 |
alphanumeric |
-- |
A |
|
49-72 |
-- |
-- |
-- |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
Buffer |
Before Adabas Call |
After Adabas Call |
Format |
*** |
-- |
Record |
-- |
A |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Supplied ET data user ID when Command Option 1 equals
"I"
|
** |
User ID for ET data in record buffer if Command
Option 1 equals "A"
|
*** |
Not used but must be included in parameter list of
call statement
|
**** |
A database ID is only necessary if you are accessing
a database other than the application's default database (read in by ADARUN
DBID parameter, provided in the loaded link globals table, or linked with the
link routine).
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
--- |
A |
Database ID**** |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-28 |
--- |
--- |
--- |
ISN |
29-32 |
binary |
F |
A |
|
33-48 |
--- |
--- |
--- |
Command Option 1 |
49 |
alphanumeric |
F |
U |
|
50-56 |
--- |
--- |
--- |
Additions 1 |
57-64 |
alphanumeric/ binary |
F* |
U/A** |
Additions 2 |
65-68 |
binary |
--- |
A |
|
69-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
ABD and Buffer |
Before Adabas Call |
After Adabas Call |
Format |
*** |
-- |
Record |
-- |
A |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Supplied ET data user ID when Command Option 1 equals
"I"
|
** |
User ID for ET data in record buffer if Command
Option 1 equals "A"
|
*** |
Not used but should be included in Adabas call or one
will be automatically generated.
|
**** |
A database ID is only necessary if you are accessing
a database other than the application's default database (read in by ADARUN
DBID parameter, provided in the loaded link globals table, or linked with the
link routine).
|
--- |
Not used |
RI Command -- Release Held Record
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
|
5-8 |
-- |
-- |
-- |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
F |
U |
|
17-72 |
-- |
-- |
-- |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
None used.
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
|
13-16 |
--- |
--- |
--- |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-28 |
--- |
--- |
--- |
ISN |
29-32 |
binary |
F |
U |
|
33-50 |
--- |
--- |
--- |
Command Option 3 |
51 |
alphanumeric |
F |
U |
|
52-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
None used.
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
--- |
Not used |
S1/S2/S4 Commands -- Find Records
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
alphanumeric |
F |
U |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
-- |
A |
ISN Lower Limit |
17-20 |
binary |
F |
U |
ISN Quantity |
21-24 |
binary |
F * |
A |
Format Buffer Length |
25-26 |
binary |
F |
U |
Record Buffer Length |
27-28 |
binary |
F |
U |
Search Buffer Length |
29-30 |
binary |
F |
U |
Value Buffer Length |
31-32 |
binary |
F |
U |
ISN Buffer Length |
33-34 |
binary |
F |
U |
Command Option 1 |
35 |
alphanumeric |
F |
U |
Command Option 2 |
36 |
alphanumeric |
F |
U |
Additions 1 |
37-44 |
alphanumeric |
F |
U |
Additions 2 |
45-48 |
binary / binary |
-- |
A |
Additions 3 |
49-56 |
alphanumeric |
F |
A |
Additions 4 |
57-64 |
alphanumeric |
F |
A |
Additions 5 |
65-72 |
alphanumeric |
F |
U |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
Buffer |
Before Adabas Call |
After Adabas Call |
Format |
F |
U |
Record |
-- |
A |
Search |
F |
U |
Value |
F |
U |
ISN |
-- |
A |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Optional timeout value, in seconds |
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
F |
U |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-28 |
--- |
--- |
--- |
ISN |
29-32 |
binary |
--- |
A |
|
33-36 |
--- |
--- |
--- |
ISN Lower Limit |
37-40 |
binary |
F |
U |
|
41-44 |
--- |
--- |
--- |
ISN Quantity |
45-48 |
binary |
F* |
A |
Command Option 1 |
49 |
alphanumeric |
F |
U |
Command Option 2 |
50 |
alphanumeric |
F |
U |
Command Option 3 (S4 only) |
51 |
alphanumeric |
F |
U |
|
52-56 |
--- |
--- |
--- |
Additions 1 |
57-64 |
alphanumeric/ binary |
F |
U |
Additions 3 |
69-76 |
alphanumeric/ binary |
F |
A |
Additions 4 |
77-84 |
alphanumeric |
F |
A |
Additions 5 |
85-92 |
alphanumeric/ binary |
F |
U |
|
93-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-128 |
--- |
--- |
--- |
Compressed Record Length |
129-136 |
binary |
--- |
A |
Decompressed Record Length |
137-144 |
binary |
--- |
A |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Optional timeout value, in seconds |
--- |
Not used |
S5 Command -- Find Coupled ISNs
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
alphanumeric |
F |
U |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
F |
A |
ISN Lower Limit |
17-20 |
binary |
F |
U |
ISN Quantity |
21-24 |
binary |
-- |
A |
|
25-32 |
-- |
-- |
-- |
ISN Buffer Length |
33-34 |
binary |
F |
U |
Command Option 1 |
35 |
alphanumeric |
F |
U |
Command Option 2 |
36 |
alphanumeric |
F |
U |
Additions 1 |
37-44 |
alphanumeric |
F |
U |
|
45-48 |
-- |
-- |
-- |
Additions 3 |
49-56 |
alphanumeric |
F |
A |
|
57-72 |
-- |
-- |
-- |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Not used but must be included in parameter list
of call statement
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
F |
U |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-28 |
--- |
--- |
--- |
ISN |
29-32 |
binary |
F |
A |
|
33-36 |
--- |
--- |
--- |
ISN Lower Limit |
37-40 |
binary |
F |
U |
|
41-44 |
--- |
--- |
--- |
ISN Quantity |
45-48 |
binary |
--- |
A |
Command Option 1 |
49 |
alphanumeric |
F |
U |
Command Option 2 |
50 |
alphanumeric |
F |
U |
|
51-56 |
--- |
--- |
--- |
Additions 1 |
57-64 |
alphanumeric/ binary |
F |
U |
|
65-68 |
--- |
--- |
--- |
Additions 3 |
69-76 |
alphanumeric/ binary |
F |
A |
|
77-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
ABD and Buffer |
Before Adabas Call |
After Adabas Call |
ISN |
--- |
A |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
--- |
Not used |
S8 Command -- Process ISN Lists
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
alphanumeric |
F |
U |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
-- |
A |
ISN Lower Limit |
17-20 |
binary |
F |
U |
ISN Quantity |
21-24 |
binary |
-- |
A |
|
25-32 |
-- |
-- |
-- |
ISN Buffer Length |
33-34 |
binary |
F |
U |
Command Option 1 |
35 |
alphanumeric |
F |
U |
Command Option 2 |
36 |
alphanumeric |
F |
U |
Additions 1 |
37-44 |
alphanumeric |
F |
U |
|
45-48 |
-- |
-- |
-- |
Additions 3 |
49-56 |
alphanumeric |
F |
A |
|
57-72 |
-- |
-- |
-- |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Not used but must be included in parameter list
of call statement
|
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
F |
U |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-28 |
--- |
--- |
--- |
ISN |
29-32 |
binary |
--- |
A |
|
33-36 |
--- |
--- |
--- |
ISN Lower Limit |
37-40 |
binary |
F |
U |
|
41-44 |
--- |
--- |
--- |
ISN Quantity |
45-48 |
binary |
--- |
A |
Command Option 1 |
49 |
alphanumeric |
F |
U |
Command Option 2 |
50 |
alphanumeric |
F |
U |
|
51-56 |
--- |
--- |
--- |
Additions 1 |
57-64 |
alphanumeric/ binary |
F |
U |
|
65-68 |
--- |
--- |
--- |
Additions 3 |
69-76 |
alphanumeric/ binary |
F |
A |
|
77-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
ABD and Buffer |
Before Adabas Call |
After Adabas Call |
ISN |
--- |
A |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
--- |
Not used |
S9 Command -- Sort ISN List
We recommend that you set unused ACB and ACBX fields to binary zeros
before the direct call is initiated.
ACB Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
-- |
-- |
-- |
Command Code |
3-4 |
alphanumeric |
F |
U |
Command ID |
5-8 |
alphanumeric |
F |
U |
File Number |
9-10 |
binary |
F |
U |
Response Code |
11-12 |
binary |
-- |
A |
ISN |
13-16 |
binary |
-- |
A |
ISN Lower Limit |
17-20 |
binary |
F |
U |
ISN Quantity |
21-24 |
binary |
F |
A |
|
25-32 |
-- |
-- |
-- |
ISN Buffer Length |
33-34 |
binary |
F |
U |
Command Option 1 |
35 |
alphanumeric |
F |
U |
Command Option 2 |
36 |
alphanumeric |
F |
U |
Additions 1 |
37-44 |
alphanumeric |
F |
U |
|
45-48 |
-- |
-- |
-- |
Additions 3 |
49-56 |
alphanumeric |
F |
A |
Additions 4 |
57-64 |
alphanumeric |
F |
A |
|
65-72 |
-- |
-- |
-- |
Command Time |
73-76 |
binary |
-- |
A |
User Area |
77-80 |
-- |
-- |
U |
Buffer Areas
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
* |
Not used but must be included in parameter list
of call statement
|
-- |
Not used |
ACBX Control Block Structure
Field |
Position |
Format |
Before Adabas Call |
After Adabas Call |
|
1-2 |
--- |
--- |
--- |
Version Indicator |
3-4 |
binary |
F |
U |
|
5-6 |
--- |
--- |
--- |
Command Code |
7-8 |
alphanumeric |
F |
U |
|
9-10 |
--- |
--- |
--- |
Response Code |
11-12 |
binary |
--- |
A |
Command ID |
13-16 |
alphanumeric/ binary |
F |
U |
Database ID |
17-20 |
numeric |
F |
U |
File Number |
21-24 |
numeric |
F |
U |
|
25-28 |
--- |
--- |
--- |
ISN |
29-32 |
binary |
--- |
A |
|
33-36 |
--- |
--- |
--- |
ISN Lower Limit |
37-40 |
binary |
F |
U |
|
41-44 |
--- |
--- |
--- |
ISN Quantity |
45-48 |
binary |
F |
A |
Command Option 1 |
49 |
alphanumeric |
F |
U |
Command Option 2 |
50 |
alphanumeric |
F |
U |
|
51-56 |
--- |
--- |
--- |
Additions 1 |
57-64 |
alphanumeric/ binary |
F |
U |
|
65-68 |
--- |
--- |
--- |
Additions 3 |
69-76 |
alphanumeric/ binary |
F |
A |
Additions 4 |
77-84 |
alphanumeric |
F |
A |
|
85-114 |
--- |
--- |
--- |
Error Subcode |
115-116 |
binary |
--- |
A |
|
117-144 |
--- |
--- |
--- |
Command Time |
145-152 |
binary |
--- |
A |
User Area |
153-168 |
not applicable |
--- |
U |
--- |
169-193 |
do not touch |
--- |
--- |
ABDs and Buffers
ABD and Buffer |
Before Adabas Call |
After Adabas Call |
ISN |
F |
A |
where:
F |
Supplied by user before Adabas call |
A |
Supplied by Adabas |
U |
Unchanged after Adabas call |
--- |
Not used |