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 Profile Log in to check your private messages Log in
 
How to route sysprint data into a dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to route sysprint data into a dataset
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: 456
Location: Belgium

PostPosted: Wed Mar 28, 2007 3:04 am    Post subject:
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

Site Director


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

PostPosted: Wed Mar 28, 2007 3:04 am    Post subject:
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    Post subject: Can we will route sysprint data to PDS dataset
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: 456
Location: Belgium

PostPosted: Sat Mar 31, 2007 6:34 pm    Post subject:
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    Post subject: Re: How to route sysprint data into a dataset
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

Site Director


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

PostPosted: Sat Mar 31, 2007 7:58 pm    Post subject:
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    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 Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm

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