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

How to route sysprint data into a dataset


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

New User


Joined: 08 Jul 2008
Posts: 62
Location: chennai

PostPosted: Sun May 24, 2009 3:18 am
Reply with quote

hello,
I have a similar requirement but slightly different. I want only the FILE STATISTICS part to be printed in a dataset instead of the SYSPRINT.

I allocated the SYSPRINT dataset and captured the data but it has a lot of stuff that i don't need. I need only the statistics in a file.

FILEIN1 9,411
FILEIN2 9,411
FILEOUT 9,411
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: Sun May 24, 2009 6:47 am
Reply with quote

Hello,

You posted a reply to a topic that is more than 2 years old. Your request has been made a new topic.

Either change the way SYSPRINT is written so that only the info you want is written, copy the data you want manually using copy/paste, or write SYSPRINT to a dataset instead of sysout and go from there.
Back to top
View user's profile Send private message
surya4ug

New User


Joined: 08 Jul 2008
Posts: 62
Location: chennai

PostPosted: Sun May 24, 2009 10:27 am
Reply with quote

Hmm okay...i guess thats the only way left.....

Thank you! icon_smile.gif
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: Sun May 24, 2009 10:58 am
Reply with quote

Hello,

Probably not the only ways. . .

What would you have preferred?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sun May 24, 2009 11:56 am
Reply with quote

Quote:
How to route sysprint data into a dataset

asked zillions times, but repetita juvant ( it helps to repeat things )

instead of ...
Code:
//SYSPRINT  DD SYSOUT=...

use
Code:
//SYSPRINT  DD DISP=...,
//             DSN=...,
//             UNIT=...,
//             SPACE=...,
//             DCB=...

for extra lines in the SYSPRINT dataset nothing You can do, or ...

modify the program in order to create only the needed lines
process the SYSPRINT dataset in order to keep only the lines You want/need
( using for example the INCLUDE/OMIT facility of Your sort product)
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 Store the data for fixed length COBOL Programming 1
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Data set Rec-Cnt and Byte-Cnt Testing & Performance 2
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts SCOPE PENDING option -check data DB2 2
Search our Forums:

Back to Top