I am trying to read the the spool detail of a particular step; i want to read the SYSUT2 of the step IVMP030. But i am unable think of logic to locate this dataset in rexx.Please find the Dataset display in spool(sdsf, st, ?)
DDNAME StepName
JESMSGLG JES2
JESJCL JES2
JESYSMSG JES2
SYSUT2 IVMP030
SYSPRINT IVMP030
JESMSGLG JES2
JESJCL JES2
JESYSMSG JES2
SYSUT2 IVMP030
SYSPRINT IVMP030
This is because; the ISFDSNAME and ISFDDNAME(in order) is as below
*.*.JOB34633.D0000003.JESJCL
SYS00149
*.*.JOB34633.D0000004.JESYSMSG
SYS00150
*.*.JOB34633.D0000102.?
SYS00151
*.*.JOB34633.D0000103.?
SYS00152
The ds name for the step IVMP030 is not complete and also the DD name is different from the one that appears in spool.
for eg: the ddname in spool in SYSUT2 but the ISFDDNAME is SYS00151.
Please let me know hwo to proceed on this issue.