Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8620
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: 92

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: 92

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 VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
No new posts Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us