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

More HOw to copy spool output into datasets?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Kotha Yadav

New User


Joined: 03 Jun 2010
Posts: 6
Location: Hyderabad

PostPosted: Tue Jun 15, 2010 7:40 am
Reply with quote

After looking at HOw to copy spool output into datasets?,
Can anyone suggest me, How can i copy a part of spool output(not entire
spool output)
i mean my spool gives me a list of members along with some other data.
I want only the members to be copied.
Is there any way i can achieve this.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Jun 15, 2010 8:28 am
Reply with quote

Hello,

Yes, you can selectively copy sysout data using xdc.

There are some examples in the forum.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


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

PostPosted: Tue Jun 15, 2010 8:11 pm
Reply with quote

The XDC option is a shortcut to copy the entire output.

If you want a portion, determine the starting and ending relative line numbers from the SDSF title line and then issue the commands one-by-one:

PRINT DATASET (to provide info on file to receive print)
PRINT nnnn nnnn (to print only a selected range of lines)
PRINT CLOSE
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Jun 15, 2010 8:56 pm
Reply with quote

Hi Bill,

Quote:
The XDC option is a shortcut to copy the entire output.

Well, the entire output of a sysout dataset - not the entire job.

Quote:
i mean my spool gives me a list of members along with some other data.
I want only the members to be copied.

Unless i misunderstood, the request was how to copy some of the sysout datasets to a file, but not all of them.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts Build a record in output file and rep... DFSORT/ICETOOL 11
Search our Forums:

Back to Top