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 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: 10327
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am

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