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 save output in spool.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
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    Post subject: How to save output in spool.
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: 195
Location: India

PostPosted: Wed Jun 11, 2008 7:15 pm    Post subject: Reply to: How to save output in spool.
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: 8593
Location: Back in jolly old England

PostPosted: Wed Jun 11, 2008 7:28 pm    Post subject: Re: How to save output in spool.
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

Senior Member


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

PostPosted: Thu Jun 12, 2008 11:50 am    Post subject:
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: 87

PostPosted: Thu Jun 12, 2008 1:39 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Jun 12, 2008 1:46 pm    Post subject:
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: 87

PostPosted: Thu Jun 12, 2008 2:06 pm    Post subject:
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    Post subject: Reply to: How to save output in spool.
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: 276
Location: Bang,iflex

PostPosted: Thu Jun 12, 2008 5:11 pm    Post subject:
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    Post subject: Reply to: How to save output in spool.
Reply with quote

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

Senior Member


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

PostPosted: Thu Jun 12, 2008 6:23 pm    Post subject: Re: Reply to: How to save output in spool.
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Tue Jul 29, 2008 10:59 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm
This topic is locked: you cannot edit posts or make replies. output data in CSV Format janmejay DFSORT/ICETOOL 3 Sat Oct 15, 2016 2:16 pm
No new posts ICETOOL/SYNCSORT - SYSPRINT output nartcr DFSORT/ICETOOL 17 Wed Oct 05, 2016 10:46 pm


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