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: 965
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 Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Hardcoded negative sign value in output scdinesh SYNCSORT 8 Fri Sep 08, 2017 5:28 am
No new posts SORT Trailer Count - LRECL Output co... amorante DFSORT/ICETOOL 5 Tue Aug 29, 2017 8:57 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm

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