Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Programming Guide


Compiling with JCL

Include the following information in the JCL for compilation: job description, statement to invoke the compiler, and definitions of the needed data sets (including the directory paths of HFS files, if any).

The simplest way to compile your program under z/OS is to code JCL that uses a cataloged procedure. A cataloged procedure is a set of job control statements in a partitioned data set called the procedure library (SYS1.PROCLIB).

The following JCL shows the general format for a cataloged procedure.

//jobname  JOB  parameters
//stepname EXEC [PROC=]procname[,{PARM=|PARM.stepname=}'options']
//SYSIN    DD   data-set parameters
. . .           (source program to be compiled)
/*
//

Additional considerations apply when you use cataloged procedures to compile object-oriented programs.

Example: sample JCL for a procedural DLL application


Terms of use | Feedback

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