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
 

 

dumping the log using SARBCH

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

New User


Joined: 16 Jul 2008
Posts: 17
Location: Chennai

PostPosted: Wed Jul 20, 2011 4:17 pm    Post subject: dumping the log using SARBCH
Reply with quote

Hi,

I want to dump the entire job log to a dataset. I am using /PRINT ID=XXXXXXXX DDNAME=XXXXXX. But one of the required job has four entries in SAR for the same run. Complete job log is devided into four and update in SAR. So when I dump, only the part of log that is in first entry of SAR gets dumped to DS. How can I overcome this to get the full dump?
Back to top
View user's profile Send private message

vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Wed Jul 20, 2011 5:08 pm    Post subject:
Reply with quote

Hello,
You could overcome this by using SEQ= parameter to get multiple entries for same JOBID.

If you feel that the job can have a maximum of 3 copies then use,
Code:
/PRINT ID=XXX DDNAME=YYY GEN=-0 SEQ=1
/PRINT ID=XXX DDNAME=YYY GEN=-0 SEQ=2
/PRINT ID=XXX DDNAME=YYY GEN=-0 SEQ=3

Note:
Report DD has to be DISP=MOD.
If you specify 5 SEQ statements and if the job has only 2 entries in SAR then the 3rd,4th & 5th SEQ statements will fail(RC=16), but still you would have the required data on Report DD.

/LOAD is better & cleaner & easier to process than /PRINT.

Hope it helps.
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Thu Jul 21, 2011 10:46 am    Post subject:
Reply with quote

Where can i get a manual for SARBCH? I want to know what all different options available in batch like - /LOAD , /PRINT etc...
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: Thu Jul 21, 2011 11:02 am    Post subject:
Reply with quote

Hello,

If your organization is licensed to use the product, all of the material is available free from CA Support.
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Thu Jul 21, 2011 11:04 am    Post subject:
Reply with quote

Yes, We have SARBCH installed in the system... But i am not able to find a manual for it...
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: Thu Jul 21, 2011 11:08 am    Post subject:
Reply with quote

Hello,

Re-read what i posted . . .

The material is available thru CA-Support (so long as your organization is licensed to use the product). Due to pirating there are places that run illegal copies of software products. . . And these are not entitled to the CA documentation.
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Thu Jul 21, 2011 11:17 am    Post subject:
Reply with quote

When I browse the CA screen... I press F1 to get the help. I want to know about batch commands used in SARBCH... But in F1 help .. There is no such topic related to batch commands...
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu Jul 21, 2011 11:23 am    Post subject:
Reply with quote

Its in the manual.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1445
Location: Azeroth

PostPosted: Thu Jul 21, 2011 11:56 am    Post subject:
Reply with quote

Here,
https://support.ca.com/irj/portal/anonymous/DocumentationSearch

You have to register yourself for someone them.. most of them are available to unregistered users as well.
Back to top
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Thu Jul 21, 2011 12:07 pm    Post subject:
Reply with quote

Thanks Vasanth....
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 JCL error while executing PGM=SARBCH sasanka CA Products 7 Fri Jan 09, 2015 9:55 am
No new posts Add a line while concatenating using ... Mathivanan Chinnaraj CA Products 8 Thu Mar 13, 2014 2:05 am
No new posts Problem Loading jobs sysout from SAR ... thesumitk CA Products 3 Mon Aug 12, 2013 11:38 pm
No new posts SARBCH supress return code ovreddy CA Products 1 Thu Jul 25, 2013 2:29 am
No new posts SARBCH- Extract specific sysout Ronny John CA Products 20 Mon Jul 09, 2012 10:08 pm


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