I checked the utility IKJEFT01 in this forum but could not find the answer so I am submitting my question.
Is there a way I can send the sysout of IKJEFT01 utility to a dataset?
I have the following JCL but it doesnot send the output to my named dataset
Any help would be appreciated.
//STEPLIB DD DSN=DB2.KDB.V9R1M0.SDSNLOAD,DISP=SHR
// DD DSN=DB2.KDB.V9R1M0.RUNLIB.LOAD,DISP=SHR
//SYSTSPRT DD DSN=MYNAME.NEW,DISP=MOD <<------- This dataset alreday exists.
//SYSTSIN DD *
RUN PROGRAM(DSNTEP2) PLAN(DSNTEP91)
//SYSOUT DD DSN=MYNAME.NEW,DISP=MOD
//SYSPRINT DD SYSOUT=*
//SYSDUMP DD SYSOUT=*
//SYSIN DD *
SELECT SUBSTR(NAME,1,9) DATABASE,SUBSTR(GRANTOR,1,8) GRANTOR, .........