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
 

 

Spool to a dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
sankar.guna
Currently Banned

New User


Joined: 02 Apr 2008
Posts: 2
Location: Bangalore

PostPosted: Thu Apr 03, 2008 7:40 pm    Post subject: Spool to a dataset
Reply with quote

hi all,

I have a prog , which gets some data from some files and display it in the spool in the first step.

i want the data displayed in the spool to get stored in a dataset.Can i do this in the second step, without changing the program in the first step.
Thanks a lot
Back to top
View user's profile Send private message

CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Apr 03, 2008 7:55 pm    Post subject:
Reply with quote

Take a look at Lionel B. Dyck's SDSFEXT - A generalized SDSF batch (or TSO) tool to extract a report into a dataset, it should do exactly what you want.....
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Apr 03, 2008 7:58 pm    Post subject:
Reply with quote

Change the SYSOUT in the step to a dataset.
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 Apr 03, 2008 11:05 pm    Post subject:
Reply with quote

No Craig, this
Quote:
Change the SYSOUT in the step to a dataset.
is not the TS's concern, I guess

Quote:
Can i do this in the second step, without changing the program in the first step.


SDSF in batch would do the trick, examples are there in the document posted earlier.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Thu Apr 03, 2008 11:39 pm    Post subject:
Reply with quote

Craq Giegerich wrote:
Change the SYSOUT in the step to a dataset.


You don't need to change the program in the first step and you don't need the second step!
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: Fri Apr 04, 2008 12:34 am    Post subject: Reply to: Spool to a dataset
Reply with quote

Kind of a shame this TS was banned. . .

This is at the least the third post of this same question (in multiple forums) and all of the replies were pretty much the same - "don't do it that way".

Now we'll probably never know hope many more times it would have been posted.

Mercy. . .

d
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Fri Apr 04, 2008 1:03 am    Post subject:
Reply with quote

Kinda wonder why too, with only two known posts......

Never-the-less, he/she is alive and well (and asking the same question) on the 'other' forum.....
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Fri Apr 04, 2008 2:00 am    Post subject:
Reply with quote

Quote:
Kind of a shame this TS was banned. . .
Yes i was going to raise this concern in Feedback section of this forum. There had been enough 'bans' lately, my straight forward question is "WHY they are banned"...?

In start of your career everyone wants to run little fast & wished to learn things little early. If with this hope, some one has posted in multiple forums, just lock the topic, with some suitable mssage. Banning right away is too harsh. Some day perhaps I'll be banned..because i google my problems.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Apr 04, 2008 2:25 am    Post subject: Reply to: Spool to a dataset
Reply with quote

The Topic Starter has been given the option to either continue posting to the other site, or to here, but not both, at least for the same topic. We'll see what they say.
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm


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