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 Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm


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