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


Sample BCDPROC to invoke z/OS Batch Runtime

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

Figure 1 shows an example of a BCDPROC statement. You can use a symbolic to override defaults on BCDPROC.
VERSION
Specifies the Java™ SDK version (default 61).
  • version 6 (Java 6.0.1)
  • version 70 (Java 7 31-bit) - Interoperable
  • version 76 (Java 7 64-bit) - IBM Java Batch Common Programming Model Support
LOGLVL
Specifies the following JZOS trace level:
+I
informational (default)
+T
detail trace (used for additional diagnostics and debugging //STDENV script)
LEPARM
Allows for additional Language Environment® options to be specified by providing by a //CEEDOPTS DD statement. For more information, see z/OS Language Environment Programming Reference.
Note: z/OS Batch Runtime only supports EBCDIC file encoding.
Figure 1. Example: BCDPROC statement
//BCDPROC PROC VERSION='61',      JVMLDM version: 61 (Java 6.0.1 31bit)  
//             LOGLVL='+I',       Debug level: +I(info) +T(trc)        
//             LEPARM=''          Language Environment parms           
//*                                                                    
//*********************************************************************
//*                                                                   *
//*  Proprietary Statement:                                           *
//*                                                                   *
//*    Licensed Materials - Property of IBM                           *
//*    5694-A01                                                       *
//*    Copyright IBM Corp. 2011.                                      *
//*                                                                   *
//*    Status = HBB7780                                               *
//*                                                                   *
//*  Component = z/OS Batch Runtime (SC1BC)                           *
//*                                                                   *
//*  EXTERNAL CLASSIFICATION = OTHER                                  *
//*  END OF EXTERNAL CLASSIFICATION:                                  *
//*                                                                   *
//*  Sample procedure JCL to invoke z/OS Batch Runtime                *
//*                                                                   *
//*  Notes:                                                           *
//*                                                                   *
//*  1. Override the VERSION symbolic parameter in your JCL           *
//*     to match the level of the Java SDK you are running.           *
//*                                                                   *
//*       VERSION=61    Java SDK 6.0.1 (31 bit)                       *
//*                                                                   *
//*  2. Override the LOGLVL symbolic parameter to control             *
//*     the messages issued by the jZOS Java launcher.                *
//*                                                                   *
//*     Use the +T option when reporting problems to IBM or           *
//*     to diagnose problems in the STDENV script.                    *
//*                                                                   *
//*  3. Override the LEPARM symbolic parameter to add any             *
//*     application specific language environment options             *
//*     needed.                                                       *
//*                                                                   *
//*  Change History =                                                 *
//*                                                                   *
//*    $L0=BATCH,HBB7780,100324,KDKJ:                                 *
//*                                                                   *
//*                                                                   *
//*********************************************************************
//JAVA EXEC PGM=JVMLDM&VERSION,REGION=0M,                              
//             PARM='&LEPARM/&LOGLVL'                                  
//*                                                                    
//SYSPRINT  DD  SYSOUT=*           System stdout                       
//SYSOUT    DD  SYSOUT=*           System stderr                       
//STDOUT    DD  SYSOUT=*           Java System.out                     
//STDERR    DD  SYSOUT=*           Java System.err                     
//BCDOUT    DD  SYSOUT=*           Batch container messages            
//BCDTRACE  DD  SYSOUT=*           Batch container trace               
//*                                                                    
//CEEDUMP   DD  SYSOUT=*                                               
//*                                                                    

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014