Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide

Embedding CICS statements

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));
Comments

In addition to the CICS statements, PL/I comments can be included in embedded CICS statements wherever a blank is allowed.

Continuation for CICS statements

Line continuation rules for CICS statements are the same as those for other PL/I statements.

Including code

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:

Margins

CICS statements must be coded within the columns specified in the MARGINS compile-time option.

Statement labels

EXEC CICS statements, like PL/I statements, can have a label prefix.

Rational Developer for System z
PL/I for Windows, Version 8.0, Programming Guide