CA7 JOB run on sunday only though RC = 4



Unicenter CA-7 Job Management: CA's workload automation tool for managing, visualizing, automating, optimizing applications

CA7 JOB run on sunday only though RC = 4

Postby Upss1234 » Mon Oct 25, 2010 8:29 pm

Hi,

Requirement is CA7 daily job should run on sunday though RC = 4 without showing any error.
On other day it should abend if RC = 4.

How we can do it in CA7 or in JCL.

Regards,
Upss1234
Upss1234
 
Posts: 3
Joined: Mon Oct 25, 2010 8:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: CA7 JOB run on sunday only though RC = 4

 

Re: CA7 JOB run on sunday only though RC = 4

Postby NicC » Mon Oct 25, 2010 9:01 pm

Get your terminology right first - CA7 is a scheduling system that submits jobs, amongst other things. Jobs consist of JCL and maybe control 'cards'.

If CA7 is like OPC (OPCA TWS whatever) then you just add the job to a Sunday only calendar. If a return code of 4 is not to be treated by CA7 as an error then you would need a separate job from your normal daily job. The Sunday job would execute an IEFBR14 as the last step or provide some other mechanism to convert your RC of 4 to an RC of 0.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2755
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 110 times

Re: CA7 JOB run on sunday only though RC = 4

Postby Robert Sample » Mon Oct 25, 2010 9:33 pm

I don't do enough CA-7 scheduling to know for sure, but you should be able to set the job up with two sched ids -- one for Sunday, one for the rest of the week. The Sunday sched id can be set to accept return code 0004 as okay while the other sched id would not accept 0004 return code as okay.
Robert Sample
Global moderator
 
Posts: 3456
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 244 times

Re: CA7 JOB run on sunday only though RC = 4

Postby Upss1234 » Tue Oct 26, 2010 1:12 pm

Thanks NinC, Robert.

That is one way but need to reshedule and SCHID changes.
any other way through which we can achieve without any SCHID changes. Can achieve Through JCL code changes or any mechanisam in CA7??

Regards,
Upss1234
Upss1234
 
Posts: 3
Joined: Mon Oct 25, 2010 8:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: CA7 JOB run on sunday only though RC = 4

Postby NicC » Tue Oct 26, 2010 3:23 pm

Any mechanism in CA7? Yes - do as Robert suggested. Through JCL? Yes, do as I suggested as well as what Robert suggested.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2755
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 110 times

Re: CA7 JOB run on sunday only though RC = 4

Postby Upss1234 » Tue Oct 26, 2010 4:06 pm

Thanks
Upss1234
 
Posts: 3
Joined: Mon Oct 25, 2010 8:12 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CA-7