Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 967
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 ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us