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 Usergroups 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 Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm


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