For each CA IDMS DML statement you want to include in a bridge program, do the following:
Step 1— Build the argument
Use the information in the following table to build the three-field argument for the DML statement.
|
Field |
Usage |
Length |
Contents |
|---|---|---|---|
|
1 |
Character |
8 |
The literal value of the CA IDMS verb issued by the bridged program. Acceptable values are:
PL/I or COBOL equivalents are also acceptable. |
|
2 |
Character |
8 |
The literal value of the CA IDMS keyword associated with the CA IDMS verb entered in field 1. Acceptable values are as shown in the list following this table. |
|
3 |
Character |
1-256 |
The variable data passed by :
or
This field is necessary only if one of these DML statements is issued. |
The acceptable values for field 2 (shown in the preceding table) are:
In the following example, the bridged DBOMP Assembler program builds the argument IDMSREQ to issue the CA IDMS DML statement @ACCEPT STATS:
IDMSREQ DS OD IDMSVERB DC CL8'@ACCEPT ' IDMSKEY DC CL8'STATS ' IDMSAREA DS CL256
Step 2— Pass the argument to the bridge program
Bridged DBOMP Assembler program
Include this statement in a bridged DBOMP Assembler program to pass the CA IDMS DML statement argument to the bridge program:
CA$LL BMP$IO,argument-name
Bridged DBOMP PL/I program
Include this statement in a bridged DBOMP PL/I program to pass the CA IDMS DML statement argument to the bridge program:
CALL CA$LL(argument_name,'END.')
Bridged DBOMP COBOL program
Include this statement in a bridged DBOMP COBOL program to pass the CA IDMS DML statement argument to the bridge program:
CALL BMPCALL USING argument-name.
|
Copyright © 2013 CA.
All rights reserved.
|
|