TPX Batch Administration execution fails with errors.
TPX batch is flexible in allowing a batch command input to be spread over several input lines.
If the JCL member has NUMBER ON, the numbers in columns 72-80 will be read in as part of the SYSIN commands and fail with errors.
For example:
This batch job looks correct:
//BATCHADM EXEC TPX,VNODE='*BATCH*'
//EXTFIL1 DD UNIT=SYSDA,SPACE=(CYL,(1,1)),DISP=(MOD)
//RPTFIL1 DD SYSOUT=*
//SYSIN DD *
EXTRACT GIVING(EXTFIL1) PROFILE AND MATCHING SESSIONS
(PENTOPTI(Y))
SET RTITLE1 ' Profile SessionID ApplID Invisible '
SET RTITLE2 ' ======== ========= ======== ========= '
REPORT GIVING(RPTFIL1) USING(EXTFIL1)
((' &PIDXNAME' ' &PENTUSER' ' &PENTAPPL' ' &PENTOPTI' ))
/*
//
The job execution fails with the following errors:
TPBL1000 09/10/10.253 15:37:53.35 EXTRACT GIVING(EXTFIL1) PROFILE AND MATCHING SESSIONS 00220001 TPBL1012 09/10/10.253 15:37:53.35 REQUIRED PARAMETER LIST MISSING TPBL1000 09/10/10.253 15:37:53.35 (PENTOPTI(Y)) 00221001 TPBL1011 09/10/10.253 15:37:53.35 UNKNOWN COMMAND TPBL1011 09/10/10.253 15:37:53.35 UNKNOWN COMMAND
Scrolling right (PF11) shows the numbers hidden in columns 72-80. Remove the line numbers in the JCL and rerun.