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
 
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 Confusion b/w index and subscript Deepak kumar25 Mainframe Interview Questions 7 Thu Aug 31, 2017 6:50 am
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm
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

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