Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How output SYSOUT to a flat file?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
bryan-yang

New User


Joined: 16 Apr 2006
Posts: 16
Location: BeiJing, China

PostPosted: Mon Jan 07, 2008 2:45 pm    Post subject: How output SYSOUT to a flat file?
Reply with quote

Hi,

I want write SYSOUT Info. to a flat file. Pls help me. Thanks a lot!
Back to top
View user's profile Send private message

Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Mon Jan 07, 2008 2:47 pm    Post subject: Reply to: How output SYSOUT to a flat file?
Reply with quote

Hi,

Quote:
I want write SYSOUT Info. to a flat file


Give the dataset name across SYSOUT. This has been discussed many times. Search this forum.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Jan 07, 2008 2:54 pm    Post subject:
Reply with quote

bryan,

Aaru's solution will work if the job had not been submitted. If the job has already ran, use 'xdc'. As suggested, search forum.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Mon Jan 07, 2008 3:01 pm    Post subject: Reply to: How output SYSOUT to a flat file?
Reply with quote

Bryan,

Quote:
If the job has already ran, use 'xdc'.


If the job is complete and you want to copy the contents of SYSOUT using a JCL, then use SDSF in batch.
Back to top
View user's profile Send private message
krisprems

Active Member


Joined: 27 Nov 2006
Posts: 649
Location: India

PostPosted: Mon Jan 07, 2008 3:09 pm    Post subject:
Reply with quote

use XDC command beside SYSOUT and give the data set name...if you have already run the JOB
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 962
Location: Richmond, Virginia

PostPosted: Mon Jan 07, 2008 7:10 pm    Post subject:
Reply with quote

I suggest, if writing to a PDS, to have job SYSOUT that is sent directly to a PDS sent to a different one than you are XDC'ing output to.

Reason: Different programs have different SYSOUT LRECL's (e.g., 121, 133), and if you write the wrong LRECL to a PDS, you can screw it up, and therefore lose access to you current members.

I'm not saying that this will happen, but it can, so save safely.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us