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

dumping the log using SARBCH


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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: 1742
Location: Tirupur, India

PostPosted: Wed Jul 20, 2011 5:08 pm
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
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 21, 2011 11:02 am
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
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

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Jul 21, 2011 11:08 am
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
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jul 21, 2011 11:23 am
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: 1742
Location: Tirupur, India

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

Here,
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts SARBCH REPORT DD writing error CA Products 1
No new posts SARBCH PRINTJOB option not Works with... CA Products 4
No new posts Copying part of the report using SARBCH CA Products 1
No new posts JCL error while executing PGM=SARBCH CA Products 7
No new posts Add a line while concatenating using ... CA Products 8
Search our Forums:

Back to Top