Use JCL similar to the following example to run test streams in batch.
// JOB CICS // DLBL VERLIB,'CICS.VERIFY // EXTENT ,CICS01 // LIBDEF *,SEARCH=VERLIB.VERIFY // DLBL IJSYSUC,'VSAM.USERCAT',,VSAM // DLBL TCADS,'CICS.TCADS',,VSAM // ASSGN SYSIPT,00C (CR) // ASSGN SYSIPT,00E (LP) . . . normal CICS startup JCL . . // EXEC DFHSIP CSSN NAME=OVERNIGHT,PS=NITE \ XTCA RUN TCADS.GENERAL.PAYROLL.001 THINK(50%) \ XTCA RUN TCADS.GENERAL.CLAIMS.003 LIMIT(100) PHYSICAL \ CSMT SHUT,Y \ *STEP2: PRINT RESULTS // DLBL VERLIB,'CICS.VERIFY' // EXTENT ,CICS01 // LIBDEF *,SEARCH=VERLIB,VERIFY // DLBL IJSYSUC,'VSAM.USERCAT',,VSAM // DLBL TCADSIN,'CICS.TCADS',,VSAM // ASSGN SYSIPT,00C // EXEC PGM=TCABATCH,SIZE=512K PRINT DIFF (ONLY) SELECT GENERAL.PAYROLL.>>> SELECT GENERAL.CLAIMS.>>> /*
Note: A delimiter must appear after the last character of each SYSIPT statement. This delimiter must be the one specified in the EODI operand in the TCP generation.
|
Copyright © 2012 CA.
All rights reserved.
|
|