The first statement of your PL/I program must be a PROCEDURE statement. You can add CICS statements to your program wherever executable statements can appear. Each CICS statement must begin with EXEC (or EXECUTE) CICS and end with a semicolon (;).
For example, the GETMAIN statement might be coded as follows:
exec cics getmain set(blk_ptr) length(stg(blk));
In addition to the CICS statements, PL/I comments can be included in embedded CICS statements wherever a blank is allowed.
Line continuation rules for CICS statements are the same as those for other PL/I statements.
If included code contains EXEC CICS statements or your program uses PL/I macros that generate EXEC CICS statements, you must use one of the following:
CICS statements must be coded within the columns specified in the MARGINS compile-time option.
EXEC CICS statements, like PL/I statements, can have a label prefix.