Hi ,
I have a requirement of print the job logs into a Dataset. I am able to print list of jobs whose complete name are known to me. The JCL that i used is below
**************************************************************************************************************
//SDSFSTEP EXEC PGM=SDSF,PARM='++60,228'
//ISFOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//ISFIN DD *
PRINT ODSN 'HLQ1.HLQ2.JOBLOG'
PREFIX *
OWNER *
ST PRDTST01
++ALL
FIND PRDTST01
++//X
FIND PRDTST01 LAST
++//
PRINT
PRINT CLOSE
END
/*
***************************************************************************************************************
I would like to know if there is a way to print job whose jobname starts with the same characters. i.e., i need to print all the jobs in my SPOOL whose name are like PRDTS*.
When i modified the JCL nothing was written to the output file.
Can anyone help me with this ??
Cheers,
Bala