JPZEXEC - Jopaz Execute Job
//JPZEXEC JOB ,CLASS=G,MSGCLASS=X,NOTIFY=&SYSUID
//*-------------------------------------------------------------------
//* Batch Java VM Skeleton Job for JZOS using z/OS included scripts
//*-------------------------------------------------------------------
// EXPORT SYMLIST=(*)
//*-------------------------------------------------------------------
//* Section to set parameters for job
//*-------------------------------------------------------------------
// SET !\colorbox{markYellow}{CLASS}!='HELLO'
// SET !\colorbox{markGreen}{JVM64}!=JPZ_JVMPROC
// SET !\colorbox{markBlue}{CONFIG}!=JPZ_JOBS_DSN(!\hyperref[JZOS:EXECCONF]{EXECCONF}!)
// SET !\colorbox{markGreen2}{OPTLIB}!=JPZ_JOBS_DSN
// SET !\colorbox{markRed}{JPZLIC}!=JPZ_LICENSE_FILE
//*-------------------------------------------------------------------
//* Configure Java and Compile .cbl/.cob to .class
//*-------------------------------------------------------------------
//JVMEXEC EXEC PROC=!\colorbox{markGreen}{\&JVM64}!,REGSIZE=512M,
// JAVACLS=!\colorbox{markYellow}{\&CLASS}!
//STDENV DD DISP=SHR,DSN=!\colorbox{markBlue}{\&CONFIG}!
//JPZOPT DD DISP=SHR,DSN=!\colorbox{markGreen2}{\&OPTLIB}!(!\hyperref[JZOS:runtime_properties]{RUNOPT}!)
//STEPLIB DD DISP=SHR,DSN=JPZ_LICENSE_CHECKER
// DD DISP=SHR,DSN=JPZ_ASM_LOAD
//LICJPZBT DD DISP=SHR,DSN=!\colorbox{markRed}{\&JPZLIC}!,
//JPZPRINT DD SYSOUT=*
//*
//* Examples
//*
//* 1. ACCEPT parameters from STDIN
//*
//* //STDIN DD *
//* parameter1
//* parameter2
//* /*
//*
//* 2. Pass LINKAGE SECTION parameters using MAINARGS
//*
//* Parameters can be specified as literals or JCL variables.
//* Use single-quotes to delimit parameters containing spaces.
//*
//* // SET PARM1='parameter 1'
//* //MAINARGS DD *,SYMBOLS=JCLONLY
//* '&PARM1'
//* parameter2
//* /*
//*