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

How to route sysprint data into a dataset


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
manikanth_e

New User


Joined: 27 Mar 2007
Posts: 13
Location: chennai

PostPosted: Wed Mar 28, 2007 2:54 am
Reply with quote

How to route sysprint data into a PSFILE.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Wed Mar 28, 2007 3:04 am
Reply with quote

Just allocate to a DSN

SYSPRINT DD DSN=xxxxx, space, disp, dcb... etc

That's all.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Mar 28, 2007 3:04 am
Reply with quote

Hello,

Is the sysprint data already in the output queue?

If yes, you should be able to copy it into a dataset using XDC within SDSF.

If no, you can change the DD statement for the output from SYSOUT DD to a PS dasd dataset DD.
Back to top
View user's profile Send private message
shailesh_85
Currently Banned

New User


Joined: 10 Mar 2007
Posts: 7
Location: mumbai

PostPosted: Sat Mar 31, 2007 6:04 pm
Reply with quote

Hi dick,

I think why i will used only PS dataset?

Any reson behind it.Can you will tell me please?

Can we can also used PDS dataset instead of PS one?
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Sat Mar 31, 2007 6:34 pm
Reply with quote

give it a try. I will be faster than post a question.

Code:
SYSPRINT DD DSN=my.pds.name(member),disp=shr
or new....


Take care of standard attributes of SYSPRINT.
Back to top
View user's profile Send private message
bvanilkumar

New User


Joined: 23 Dec 2006
Posts: 10
Location: SYDNEY

PostPosted: Sat Mar 31, 2007 7:51 pm
Reply with quote

Hi,
You ran the job without allocating a dataset to sysprint and if you want the data in sysprint then, you can use 'ED' command in spool at sysprint which edits the sysprint.
Cut and paste the data to your dataset or member. I'm not sure it's applicable to all environments. Try using it.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Mar 31, 2007 7:58 pm
Reply with quote

Hello Shailesh,

The choice of a PS versus a PDS depends on how you want to use the "filed" output. If you want to save outputs for later reference, a PDS works well - make sure you make it lrecl 133 rather than 80.

If the output is to be used in a "foreign" system (some other mainframe or a unix/win-based platform) a PS will usually work well.

As Pierre mentioned, you can experiment. The output from a compile may be a good test case for you.

Good luck icon_smile.gif
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 Store the data for fixed length COBOL Programming 1
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top