My JCL is
//@1MAIN JOB SORT,CLASS=A,MSGCLASS=X,MSGLEVEL=(1,0),
// REGION=4M,COND=(4,LT),NOTIFY=&SYSUID,TIME=(0,10)
//********************************************************************
//CALLREXX EXEC PGM=IKJEFT01
//SYSEXEC DD DISP=SHR,DSN=ES6LTHT.JCL.REXX
//FILEIN DD DSN=SYSOPERT.MVSTRMF.SESSION3,DISP=SHR
//FILEOUT DD DSN=ES6LTHT.SESSION,DISP=SHR
//SYSTSPRT DD SYSOUT=X
//SYSTSIN DD *
CPU
/*
and when I call REXX "ES6LTHT.JCL.REXX(CPU), I can run the JOB
'EXECIO * DISKR FILEIN (FINIS STEM DATA.'
DO I=1 TO DATA.0
IF SUBSTR(DATA.I,2,7) = "PRODUCT" THEN DO
SAY " CPU:" SUBSTR(DATA.I,128,5)
END
END
EXIT
But I call REXX "ES6LTHT.JCL.REXX(TEST)" , It show the Message "IKJ56701I MISSING DSNAME"
SAY "TIME: CPU: CSA: ECSA:"
'EXECIO * DISKR FILEIN (FINIS STEM DATA.'
DO I=1 TO DATA.0
line = ""
IF SUBSTR(DATA.I,1,4) = "-CPU" THEN DO
J = I - 1
line = SUBSTR(DATA.J,71,8)
END
IF SUBSTR(DATA.I,2,7) = "PRODUCT" THEN
line = OVERLAY(SUBSTR(DATA.I,128,5),line,14)
IF SUBSTR(DATA.I,34,5) = "BELOW" THEN DO
L = I + 5
line = OVERLAY(SUBSTR(DATA.L,39,5),line,24)
line = OVERLAY(SUBSTR(DATA.L,79,4),line,37)
SAY line
END
END
EXIT
Sorry, Could you teach me how to use TRACE('R').
Thanks