MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CA-7 Job Scheduling Doubt

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
rajeshkoratti
Beginner


Joined: 14 Feb 2006
Posts: 42
Topics: 22

PostPosted: Wed Mar 22, 2006 3:02 am    Post subject: CA-7 Job Scheduling Doubt Reply with quote

Hi All
I have a Job which creates and catalogs a dataset in STEP 10 which is eventually deleted in the last step (STEP 50) of the job if the job runs with RC=0, else the datset is retained which is further used to trigger the same job once again using CA-7.

My doubt here is will the CA-7 scheduler trigger the job just after STEP 10 because it is this step that creates and catalogs the dataset?

Another doubt is that my shop uses SMS so even after STEP 50 delete step will the catalog info still be present in the catalog and will it cause the CA-7 to schedule the job accidently?

My assumption is that the CA-7 will only schedule if the dataset is physically present and it happens only after the job is completely run but i would like some expert confirmation.
_________________
Thanks and Regards..
Rajesh
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Wed Mar 22, 2006 3:52 am    Post subject: Reply with quote

Rajeshkoratti,

I am not an expert in CA7. But, why don't you use the Auto Restart Facility available in CA7 instead of using Dataset Trigger to restart the job incase of an Abend / Non-zero RC.

Thanks,
Phantom
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Wed Mar 22, 2006 5:43 am    Post subject: Reply with quote

rajeshkoratti,

if your shop using UCC11 procedure before the start of the job, then it will automatically delete all the datasets with disp=(new,catlg,delete).

If your intention is to trigger the same job incase of return code other than zero, use that return code to trigger the job.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group