How to copy sysout to a sequential dataset.
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> JCL/SORT

#1: How to copy sysout to a sequential dataset. Author: PhantomLocation: The Blue Planet PostPosted: Tue Nov 29, 2005 12:51 pm
    —
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

#2:  Author: PhantomLocation: The Blue Planet PostPosted: Tue Nov 29, 2005 12:54 pm
    —
Invoking SDSF In Batch

Code:

Invoke SDSF on an EXEC statement with one of two program names:

SDSF, which supports commands and action characters.

ISFAFD, which supports commands, action characters, and overtyping of fields on tabular and other panels, such as the print panels.


http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/isfgr10/2.21.1?SHELF=&DT=19990709125748&CASE=

Thanks,
Phantom



MVSFORUMS.com -> JCL/SORT


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group