IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How output SYSOUT to a flat file?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1287
Location: Chennai, India

PostPosted: Mon Jan 07, 2008 2:47 pm
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: 1436
Location: Bangalore,India

PostPosted: Mon Jan 07, 2008 2:54 pm
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: 1287
Location: Chennai, India

PostPosted: Mon Jan 07, 2008 3:01 pm
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
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

Senior Member


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

PostPosted: Mon Jan 07, 2008 7:10 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 8
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top