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

Problem Loading jobs sysout from SAR thru SARBCH (Using GEN)


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
thesumitk

Active User


Joined: 24 May 2013
Posts: 156
Location: INDIA

PostPosted: Mon Aug 12, 2013 11:38 pm
Reply with quote

Hi All,

I am trying to Load the sysout from SAR thru my batch jobs like below


Code:
/LOAD ID=JOB GEN=-1


but I am not getting the output .. it is giving me an message that requested sysout not found .. and when I am trying with other numbers in GEN like -3 ,-4 etc. .. It is working fine .. I am facing this problem from past few days .. I am coding one tool where My rexx is submitting this job by overriding the job and gen variables by the desired values so I need it to be automated with no bugs .. I see that SAR backup runs till 9:00 AM CST but after that too it is not giving me desired result .. Some time it do not runs on -1 and some time on -2 .. It is very uncertain..

Can some body help please......

Thanks
Sumit
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Wed Aug 14, 2013 1:16 am
Reply with quote

Are there multiple sequences associated with job log? That is, do you see multiple entries corresponding to same job ID?
Try qualifying with SEQ parameter like -

Code:
/LOAD GEN=-1 ID=JOB SEQ=00001
Back to top
View user's profile Send private message
thesumitk

Active User


Joined: 24 May 2013
Posts: 156
Location: INDIA

PostPosted: Wed Aug 14, 2013 10:29 pm
Reply with quote

Hi agkshirsagar,

Thanks for the information !!

I solved this yesterday by using the actual GEn parameter instead of a Relational number like below

Code:
/LOAD ID=JOB GEN=2273 SEQ=2 PASSWORD=  DDNAME=REPORT



The GEN is the number mentioned inthe SAR panel or report fetched by

Code:
/LIST ID=JOB GEN=*


Thanks
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Thu Aug 15, 2013 12:17 am
Reply with quote

You are welcome and thanks for sharing the solution that worked for you.
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 Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Help in Automating Batch JCL jobs mon... JCL & VSAM 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
Search our Forums:

Back to Top