IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to save output in spool.


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
itdsen

New User


Joined: 20 Sep 2006
Posts: 23
Location: Chennai

PostPosted: Wed Jun 11, 2008 7:13 pm
Reply with quote

How to save output in spool.

is there is any command ?
Back to top
View user's profile Send private message
HappySrinu

Active User


Joined: 22 Jan 2008
Posts: 194
Location: India

PostPosted: Wed Jun 11, 2008 7:15 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Wed Jun 11, 2008 7:28 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Thu Jun 12, 2008 11:50 am
Reply with quote

Hi,

Try this
Code:
//DDname DD SYSOUT=*

Hopefully this is what you need else explain again.
Back to top
View user's profile Send private message
mohitsaini
Warnings : 1

New User


Joined: 15 May 2006
Posts: 92

PostPosted: Thu Jun 12, 2008 1:39 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Thu Jun 12, 2008 1:46 pm
Reply with quote

Hi,
Quote:
I think it is XDS

That is "XDC" & that is to get output from "SYSOUT" to some Data set, here the request is nearly opposite.
Back to top
View user's profile Send private message
mohitsaini
Warnings : 1

New User


Joined: 15 May 2006
Posts: 92

PostPosted: Thu Jun 12, 2008 2:06 pm
Reply with quote

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
View user's profile Send private message
itdsen

New User


Joined: 20 Sep 2006
Posts: 23
Location: Chennai

PostPosted: Thu Jun 12, 2008 4:59 pm
Reply with quote

sorry for mistake.

pls change subject to how to save output of spool(complete job information) into dataset.
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 275
Location: Bang,iflex

PostPosted: Thu Jun 12, 2008 5:11 pm
Reply with quote

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
View user's profile Send private message
itdsen

New User


Joined: 20 Sep 2006
Posts: 23
Location: Chennai

PostPosted: Thu Jun 12, 2008 6:06 pm
Reply with quote

Thaks a lot.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Thu Jun 12, 2008 6:23 pm
Reply with quote

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.. icon_smile.gif
Back to top
View user's profile Send private message
vv

New User


Joined: 06 Jan 2008
Posts: 10
Location: bangalore

PostPosted: Mon Jun 16, 2008 2:04 pm
Reply with quote

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
View user's profile Send private message
P.RAJESH
Currently Banned

New User


Joined: 20 Mar 2008
Posts: 54
Location: chennai

PostPosted: Mon Jul 28, 2008 12:47 pm
Reply with quote

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
View user's profile Send private message
P.RAJESH
Currently Banned

New User


Joined: 20 Mar 2008
Posts: 54
Location: chennai

PostPosted: Mon Jul 28, 2008 12:49 pm
Reply with quote

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
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Mon Jul 28, 2008 6:49 pm
Reply with quote

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
View user's profile Send private message
P.RAJESH
Currently Banned

New User


Joined: 20 Mar 2008
Posts: 54
Location: chennai

PostPosted: Tue Jul 29, 2008 10:21 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Jul 29, 2008 10:59 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts REXX/CMS How to place command console... CLIST & REXX 4
No new posts Reroute print output via REXX/SDSF TSO/ISPF 6
No new posts Concatenate 2 input datasets and give... JCL & VSAM 2
No new posts Save SYSLOG in a MASS complex All Other Mainframe Topics 3
No new posts can an ISPF appl save user changes in... TSO/ISPF 14
Search our Forums:

Back to Top