z/OS Batch Runtime Planning and User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Main JCL statements needed for BCDBATCH

z/OS Batch Runtime Planning and User's Guide
SA23-1376-00

This section of the documentation uses reference keys, such as  1 ,  2 , to match the instructions with the sample JCL.

z/OS Batch Runtime supplies a sample BCDBATCH job which you modify to suit your application. Table 1 summarizes the main JCL statements for the BCDBATCH job. Procedure for modifying the BCDBATCH job contains complete steps to modifying the sample BCDBATCH job.

Table 1. JCL summary for BCDBATCH job
JCL statement Explanation
 1 
//BCDBATCH  JOB  (1),'name'
//BATCH EXEC BCDPROC,REGION=0M,LOGLVL=’+I’
The JCL that invokes z/OS Batch Runtime. Throughout this publication, the JCL used to invoke the z/OS Batch Runtime is referred to as the BCDBATCH job. Use any job name that is acceptable to your installation.
 2 
//*STEPLIB DD  DSN=hlq.yourapp.loadlib,DISP=SHR
//*        DD  DSN=hlq.jzos.loadlib,DISP=SHR
Add any load libraries your application requires to the STEPLIB; for example, this could be the data set containing your PL/I or COBOL application load modules. If the JZOS Java™ launcher is not installed in the LNKLST, add a STEPLIB for it. For more information about installing JZOS, see the JZOS Java Launcher and Toolkit Overview at www.ibm.com/systems/z/os/zos/tools/java/.

Any COBOL application modules must be in either the //STEPLIB concatenation or added to a STEPLIB environment variable in //STDENV DD *. Do not use LIBPATH for starting a COBOL application.

 3 
//STDENV DD * 
Specifies the environment variables used for this run, including JAVA_HOME, CLASSPATH, and LIBPATH.
 4 
//BCDIN DD *
Specifies a file containing the batch configuration options. Note that some support elements obtain their options from Java system properties. See JCL for BCDIN configurations options for more information.
 5 
//BCDXJCL
Names a file containing the xJCL XML definition describing the application to run. The syntax of the xJCL is described in the WebSphere® Compute Grid Info Center. Compute Grid provides some tooling to assist in the development of XJCL, which is part of the Modern Batch project support in Rational® Application Developer V8. This statement is required when an xJCL application is processed.
 6 
//BCDXPROP
Names a file containing substitution properties to be applied the xJCL when the job is submitted. The file is in keyword=value format using the same syntax rules as the //BCDIN file. This statement is optional.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014