View previous topic :: View next topic
|
Author |
Message |
itdsen
New User
Joined: 20 Sep 2006 Posts: 23 Location: Chennai
|
|
|
|
How to save output in spool.
is there is any command ? |
|
Back to top |
|
|
HappySrinu
Active User
Joined: 22 Jan 2008 Posts: 194 Location: India
|
|
|
|
my understanding there are tools available to store output after successful finish of jobs like $AVERS etc.
I guess it depends on site that how long jobs can sits in queue/get deleted |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
itdsen wrote: |
How to save output in spool.
is there is any command ? |
Ok, my phsycic powers are low today, so what do you want to save, and where do you want to save it to ? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
Try this
Code: |
//DDname DD SYSOUT=* |
Hopefully this is what you need else explain again. |
|
Back to top |
|
|
mohitsaini Warnings : 1 New User
Joined: 15 May 2006 Posts: 92
|
|
|
|
I think we have to type a 3-letter command in front of the sysout to save it to the dataset .... I think it is XDS. Not very sure though ... |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
That is "XDC" & that is to get output from "SYSOUT" to some Data set, here the request is nearly opposite. |
|
Back to top |
|
|
mohitsaini Warnings : 1 New User
Joined: 15 May 2006 Posts: 92
|
|
|
|
The request is:
Quote: |
How to Save output in Spool |
Now I am reading this as: How to save output which is already in spool?
OR How to Save OUTPUT-IN-SPOOL?
Please correct if I am wrong somewhere in understanding this ... |
|
Back to top |
|
|
itdsen
New User
Joined: 20 Sep 2006 Posts: 23 Location: Chennai
|
|
|
|
sorry for mistake.
pls change subject to how to save output of spool(complete job information) into dataset. |
|
Back to top |
|
|
vasanthkumarhb
Active User
Joined: 06 Sep 2007 Posts: 275 Location: Bang,iflex
|
|
|
|
Hi,
As already suggested, use XDC command againist to the job name in SPOOL then press enter, there you can see pop up screen to provide data set which is already cataloged, specify the data set name, then press ENTER
then complete SPOOL info is copied to that data set. |
|
Back to top |
|
|
itdsen
New User
Joined: 20 Sep 2006 Posts: 23 Location: Chennai
|
|
|
|
Thaks a lot. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
itdsen wrote: |
pls change subject to how to save output of spool(complete job information) into dataset. |
This changes the total "sense" of the thread. Anyways, please search the forum, this has been discussed many times earlier..Good Luck.. |
|
Back to top |
|
|
vv
New User
Joined: 06 Jan 2008 Posts: 10 Location: bangalore
|
|
|
|
hi,
This is venkat,
while going to spool the command's are
press f4,
issue pre,shift+tabkey,
control move to last user(i.e recent user) ,
there alyways we r give' ?',
insted of that ?-mark we can type 'XDC'.
at that time ,it will ask one pds name.
there we can give that pds name with disp status.
then the data in spool will move to pds member. |
|
Back to top |
|
|
P.RAJESH Currently Banned New User
Joined: 20 Mar 2008 Posts: 54 Location: chennai
|
|
|
|
hi Anuj,
Anuj written,
//DDname DD SYSOUT=*
In our JCL'S we coded that writting error messages to spool by using the above SYSOUT.
Now the problem is it is working always,after that we coded like below
//DDname DD SYSOUT=*,DCB=(RECFM=FB,LRECL=133,DSORG=PS,BLKSIZE=00000)
it is working fine.
but i want to know why it is so....
I anlaysed but not found the reason why it is like this. |
|
Back to top |
|
|
P.RAJESH Currently Banned New User
Joined: 20 Mar 2008 Posts: 54 Location: chennai
|
|
|
|
hi Anuj,
Anuj written,
//DDname DD SYSOUT=*
In our JCL'S we coded that writting error messages to spool by using the above SYSOUT.
Now the problem is it is not working always,after that we coded like below
//DDname DD SYSOUT=*,DCB=(RECFM=FB,LRECL=133,DSORG=PS,BLKSIZE=00000)
it is working fine.
but i want to know why it is so....
I anlaysed but not found the reason why it is like this. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
If you needed to add DCB info to the DDname to make it work it means the program is NOT providing it. SOmetimes the LRECL, RECFM and even BLKSIZE maybe coded right in the program so the parameters may be omitted from JCL. |
|
Back to top |
|
|
P.RAJESH Currently Banned New User
Joined: 20 Mar 2008 Posts: 54 Location: chennai
|
|
|
|
hi,
Can you please explain in detail
While i code sysout without DCB parameteres, i got messages in spool in some runs.
while i code sysout with DCB Parameters, i got messages in spool for every run. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
You need to post some of both kinds of messages you are interested in.
Every job ever run places some messages in the spool. |
|
Back to top |
|
|
|