View previous topic :: View next topic
|
Author |
Message |
shanuss
New User
Joined: 16 Jul 2008 Posts: 17 Location: Chennai
|
|
|
|
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 |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
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 |
|
|
gylbharat
Active Member
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If your organization is licensed to use the product, all of the material is available free from CA Support. |
|
Back to top |
|
|
gylbharat
Active Member
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
Yes, We have SARBCH installed in the system... But i am not able to find a manual for it... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
gylbharat
Active Member
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Its in the manual. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
Back to top |
|
|
gylbharat
Active Member
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
Thanks Vasanth.... |
|
Back to top |
|
|
|