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 route sysprint data into a dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to route sysprint data into a dataset
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

Site Director


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

PostPosted: Sun May 24, 2009 6:47 am    Post subject:
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    Post subject: Reply to: How to route sysprint data into a dataset
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

Site Director


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

PostPosted: Sun May 24, 2009 10:58 am    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10254
Location: italy

PostPosted: Sun May 24, 2009 11:56 am    Post subject: Reply to: How to route sysprint data into a dataset
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm


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