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

SARBCH by index


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Cobol file using index COBOL Programming 2
No new posts DL/I status code AK for GU call using... IMS DB/DC 1
No new posts Add column to existing records using ... JCL & VSAM 2
No new posts choice of clustering index DB2 3
No new posts Secondary index error while loading d... IMS DB/DC 2
Search our Forums:

Back to Top