IBM-supplied cataloged procedures

This section describes PL/I cataloged procedures supplied for use with Enterprise PL/I for z/OS®.

For a description of the individual statements for compiling and link editing, see Invoking the compiler under z/OS using JCL and the z/OS Language Environment® Programming Guide.

The following PL/I cataloged procedures are supplied for use with Enterprise PL/I for z/OS:

IBMZC
Compile only
IBMZCB
Compile and bind
IBMZCBG
Compile, bind, and run
IBMQC
Compile only (64-bit)
IBMQCB
Compile and bind (64-bit)
IBMQCBG
Compile, bind, and run (64-bit)

Cataloged procedures IBMZCB, IBMZCBG, IBMQCB, and IBMQCBG use features of the program management binder introduced in DFSMS/MVS 1.4. These procedures produce a program object in a PDSE.

These cataloged procedures do not include a DD statement for the input data set; you must always provide one. The example shown in Invoking a cataloged procedure illustrates the JCL statements you might use to invoke the cataloged procedure IBMZCBG to compile, bind, and run a PL/I program.

Enterprise PL/I requires a minimum REGION size of 32M. Large programs require more storage. If you do not specify REGION on the EXEC statement that invokes the cataloged procedure you are running, the compiler uses the default REGION size for your site. The default size might or might not be adequate, depending on the size of your PL/I program.

If you compile your programs with optimization turned on, the REGION size (and time) required might be much, much larger. For an example of specifying REGION on the EXEC statement, see #catproc__fig111.

Example: Invoking a cataloged procedure

Invoking a cataloged procedure
 //COLEGO    JOB
 //STEP1     EXEC IBMZCBG, REGION.PLI=32M
 //PLI.SYSIN DD *
                .
                .
                .
     (insert PL/I program to be compiled here)
                .
                .
                .
 /*