Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

IBM-supplied cataloged procedures

Compile only (IBMZC)
Compile and bind (IBMZCB)
Compile, bind, and run (IBMZCBG)
Compile, prelink, and link-edit (IBMZCPL)
Compile, prelink, link-edit, and run (IBMZCPLG)
Compile, prelink, load and run (IBMZCPG)

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

IBMZC
Compile only
IBMZCB
Compile and bind
IBMZCPL
Compile, prelink, and link-edit
IBMZCBG
Compile, bind, and run
IBMZCPLG
Compile, prelink, link-edit, and run
IBMZCPG
Compile, prelink, load, and run

Cataloged procedures IBMZCB and IBMZCBG use features of the program management binder introduced in DFSMS/MVS® 1.4 in place of the prelinker supplied with Language Environment. These procedures produce a program object in a PDSE.

Cataloged procedures IBMZCPL, IBMZCPLG and IBMZCPG use the prelinker supplied with Language Environment and produce a load module in PDS. Use these procedures if you do not want to use a PDSE. The information in this section describes the procedure steps of the different cataloged procedures. For a description of the individual statements for compiling and link editing, seeInvoking the compiler under z/OS using JCL and z/OS Language Environment Programming Guide. These cataloged procedures do not include a DD statement for the input data set; you must always provide one. The example shown in Figure 7 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 may be much, much larger.

For an example of specifying REGION on the EXEC statement, see Figure 7.

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

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)