//JOHN0015S JOB UNIVER,CLASS=A,MSGCLASS=H,NOTIFY=&SYSUID
// JCLLIB ORDER=(UNISHE.PROCLIB)
//UNLDSTEP EXEC SMFUNLD
//SMFUNLD.OUTDD DD DISP=(NEW,PASS),DSN=&&SMFTEMP,
// SPACE=(CYL,(20,20)),RECFM=VB,LRECL=8192
//myddname DD DISP=(OLD,DELETE),DSN=*.UNLDSTEP.SMFUNLD.OUTDD
//OUTPUT DD DISP=(NEW,CATLG),DSN=OXF0015.XXXXXLOG(+1),
// SPACE=(CYL,(20,20)),RECFM=VB,LRECL=8192
// JCLLIB ORDER=(UNISHE.PROCLIB)
//UNLDSTEP EXEC SMFUNLD
//SMFUNLD.OUTDD DD DISP=(NEW,PASS),DSN=&&SMFTEMP,
// SPACE=(CYL,(20,20)),RECFM=VB,LRECL=8192
//myddname DD DISP=(OLD,DELETE),DSN=*.UNLDSTEP.SMFUNLD.OUTDD
//OUTPUT DD DISP=(NEW,CATLG),DSN=OXF0015.XXXXXLOG(+1),
// SPACE=(CYL,(20,20)),RECFM=VB,LRECL=8192
I am unable to store the temporary dataset to a generation. Moreover, how can I use DFSORT to get records for a particular id. I know temp dataset could be used in this case.