MVSFORUMS.com A Community of and for MVS Professionals
View previous topic :: View next topic
Author
Message
Phantom Data Mgmt Moderator Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
Posted: Tue Nov 29, 2005 12:51 pm Post subject: How to copy sysout to a sequential dataset.
How to copy sysout to a sequential dataset ?
There are couple of ways to copy the data in Sysout / joblog to a dataset.
1. Online - Type XDC besides the joblog or sysout and follow the screens.
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/isfgr10/3.25?DT=19990709125748
2. Batch - Invoke PGM=SDSF to copy Spool contents to a dataset
Code:
//STEP010 EXEC PGM=IEFBR14
//DD1 DD DSN=YOUR JOB OUTPUT,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// SPACE=(CYL,(1,1),RLSE),
// DCB=(RECFM=FBA,LRECL=133,BLKSIZE=0)
//*
//STEP020 EXEC PGM=SDSF
//ISFOUT DD DUMMY
//ISFIN DD *
OWNER **
PREFIX JOBNAME
H
FIND JOBNAME
++S
PRINT ODSN 'YOUR JOB OUTPUT'
PRINT
PRINT CLOSE
END
//*
Related Links:
http://www.mvsforums.com/helpboards/viewtopic.php?t=332&highlight=sdsf+dataset
Thanks,
Phantom
Back to top
Phantom Data Mgmt Moderator Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
Back to top
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum