View previous topic :: View next topic
|
Author |
Message |
manikanth_e
New User
Joined: 27 Mar 2007 Posts: 13 Location: chennai
|
|
|
|
How to route sysprint data into a PSFILE. |
|
Back to top |
|
|
PeD
Active User
Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
|
|
Just allocate to a DSN
SYSPRINT DD DSN=xxxxx, space, disp, dcb... etc
That's all. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
shailesh_85 Currently Banned New User
Joined: 10 Mar 2007 Posts: 7 Location: mumbai
|
|
|
|
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 |
|
|
PeD
Active User
Joined: 26 Nov 2005 Posts: 459 Location: Belgium
|
|
|
|
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 |
|
|
bvanilkumar
New User
Joined: 23 Dec 2006 Posts: 10 Location: SYDNEY
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
Back to top |
|
|
|