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


Sample Compile and Bind JCL

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

The following is an example of the JCL needed to compile and bind the sample source as shown in Figure 1
Figure 1. Sample Compile and Bind JCL to Commit Transaction Using JNI
//jobname JOB (1)
//*
//*   Complies and links PLICOMIT
//*
//JCLLIB   JCLLIB   ORDER=PLI.PLI410.SIBMZPRC
//*
//STEP1    EXEC   IBMZCB,
//       REGION=0M,
//       LNGPRFX='PLI.PLI410',
//       PARM.BIND=('OPTIONS=OPTS')
//*
//PLI.SYSLIB DD DSN=PLI.PLI410.SIBMZSAM,DISP=SHR
//*
//PLI.SYSIN  DD DSN=IBMUSER.BATCH.SOURCE(PLICOMIT),DISP=SHR
//*
//BIND.SYSLMOD DD DSN=IBMUSER.BATCH.LOAD,DISP=SHR
//BIND.OPTS    DD *
MAP
RENT
DYNAM=DLL
CASE=MIXED
LIST=ALL
XREF
//*
//BIND.SYSIN   DD *
INCLUDE '/usr/lpp/java/J6.0/bin/j9vm/libjvm.x'
ENTRY PLICOMIT
NAME PLICOMIT(R)
//

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014