SQLIMS
Use the SQLIMS
compiler option to enable
the IMS SQL
coprocessor and to specify Information Management System (IMS) suboptions.
You must specify the SQLIMS
option if a COBOL source
program contains SQLIMS
statements (EXEC SQLIMS statements).
Default: NOSQLIMS
Abbreviation: None
If you specify the NOSQLIMS
option,
any SQLIMS
statements that are found in the source
program are diagnosed and discarded.
Use either quotation marks or apostrophes to delimit the string of IMS suboptions.
You can partition
a long suboption string into multiple suboption strings in multiple CBL
statements.
For example:
//STEP1 EXEC IGYWC, . . .
// PARM.COBOL=’SQLIMS("string1")’
//COBOL.SYSIN DD *
CBL SQLIMS("string2")
CBL SQLIMS(’string3’)
IDENTIFICATION DIVISION.
PROGRAM-ID. DRIVER1.
. . .
"string1 string2 string3"
The concatenated strings are delimited with single spaces as shown. If multiple instances of the same IMS suboption are found, the last specification of each suboption takes effect. The compiler limits the length of the concatenated IMS suboption string to 4 KB.
When the LP(64)
compiler option is in
effect, the SQLIMS
option is not supported. If the
option is specified explicitly by the user, a diagnostic message is
emitted.