View previous topic :: View next topic
|
Author |
Message |
pavithraa
New User
Joined: 14 Nov 2006 Posts: 12
|
|
|
|
could anyone tell me how to get the output in a dataset instead of spool in jcl |
|
Back to top |
|
|
saiprasadh
Active User
Joined: 20 Sep 2006 Posts: 154 Location: US
|
|
|
|
HI Pavithraa,
Give the Dataset name in the SYSOUT insted of
SYSOUT=* in the JCL
Ex:
Code: |
SYSOUT DD DISP=SHR,DSN=Dataset Name |
Thanks
Sai |
|
Back to top |
|
|
0d311
Guest
|
|
|
|
saiprasadh wrote: |
HI Pavithraa,
Ex:
Code: |
SYSOUT DD DISP=SHR,DSN=Dataset Name |
|
For output DSNs, I don't think a disposition of SHR is being used. It's either NEW, DELETE, CATLG, KEEP or MOD. Please let me know if I got it wrong though |
|
Back to top |
|
|
pavithraa
New User
Joined: 14 Nov 2006 Posts: 12
|
|
|
|
thanks saiprasadh |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
You are correct - SHR should not be used for this dataset. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
Quote: |
For output DSNs, I don't think a disposition of SHR is being used. It's either NEW, DELETE, CATLG, KEEP or MOD. Please let me know if I got it wrong |
Yes :-)
the disposition od a dataset has nothing to do with the use You make of it...
expecially for an output dataset
I have known of places where, to make AUDITING, reruns and debugging easier,
all the datasets ( even the temporary ones )
were preallocated for each procedure at the beginning of the job chain.
regards
e.s |
|
Back to top |
|
|
|