MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to copy sysout to a sequential dataset.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> JCL/SORT
View previous topic :: View next topic  
Author Message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Nov 29, 2005 12:51 pm    Post subject: How to copy sysout to a sequential dataset. Reply with quote

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
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Tue Nov 29, 2005 12:54 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> JCL/SORT All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group