Using SQLIMS INCLUDE with the IMS SQL coprocessor
An SQLIMS INCLUDE
statement is treated
identically to a native COBOL COPY
statement when
you use the SQLIMS
compiler option.
About this task
The following two lines are therefore treated the same
way. The period that ends the EXEC SQLIMS INCLUDE
statement
is required.
EXEC SQLIMS INCLUDE name END-EXEC.
COPY "name".
The processing of the name in
an SQLIMS INCLUDE
statement follows the same rules
as the literal in a COPY
literal-1 statement
that does not have a REPLACING
phrase.
The library search order for SQLIMS INCLUDE
statements
is the same SYSLIB concatenation as the compiler uses to resolve COBOL COPY
statements
that do not specify a library-name.
Related references
Compiler-directing statements
COPY statement (Enterprise COBOL for z/OS® Language Reference)
Compiler-directing statements
COPY statement (Enterprise COBOL for z/OS® Language Reference)