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
 

 

SARBCH by index

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
neil.bryson

New User


Joined: 30 Sep 2008
Posts: 2
Location: Chester, UK

PostPosted: Thu Aug 06, 2009 3:43 pm    Post subject: SARBCH by index
Reply with quote

Hi there,

I'm trying to pull back the contents of a very large SAR report using SARBCH. When you view the report in SAR, it is broken down into sections acting like an index i.e. "SECTION 001", "SECTION 002" etc.

My question is does SARBCH have a parameter that will allow me to pull back a specific section of the report to a dataset? I've tried the following;

Code:
/LOAD ID=REPORT2 GEN=1234 INDEX='SECTION  002'


but SAR complains that the index paramater is too long (apparantly IT should only be one byte).
Back to top
View user's profile Send private message

neil.bryson

New User


Joined: 30 Sep 2008
Posts: 2
Location: Chester, UK

PostPosted: Thu Aug 06, 2009 4:29 pm    Post subject:
Reply with quote

I've managed to get this working so I'll list the solution in case anyone finds this in the future.

Code:
/PRINT ID=REPORT2 VIEW=1 GEN=1234  SELECT='SECTION  002' 


Unfortunatly the SELECT and VIEW parameters only work with PRINT so it isn't a perfect solution but it doesn't take much effort to strip the SAR headers and trailers off.

That said, if anyone knows if there is a way of doing this with LOAD I'm all ears!
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Order BY AND Index Nileshkul DB2 2 Sat Dec 31, 2016 6:33 pm
No new posts Several errors during building altern... Andi1982 JCL & VSAM 11 Wed Jul 06, 2016 7:39 pm
No new posts Drop building Alternate Index for a p... bhavin.mehta JCL & VSAM 6 Mon Jul 04, 2016 3:47 pm
No new posts VSAM Alternate Index in CICS jacobdng CICS 2 Fri May 06, 2016 1:41 pm
No new posts Rebuilding IMS secondary index withou... Hooman24 IMS DB/DC 6 Tue Mar 29, 2016 12:22 pm


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