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 JobScheduling with Return Codes

 
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: Thu May 11, 2006 5:52 am    Post subject: CA-7 JobScheduling with Return Codes Reply with quote

Hi All,
I am facing this particular problem w.r.t CA-7 scheduling please help me..

A file is processed by a program in a job that is scheduled through CA7.

While sequentially processing the file, if the program encounters an error record, it will write the file into an error record, write the remaining unprocessed records into another file and exit (STOP run) with a non zero return code.

The records in the file that contains the unprocessed records need to be processed. So the job needs to be submitted again.

How can the job be triggered automatically in CA7?
Can the return code trigger the job? If yes, how many times job can be triggered this way in CA7?

Can the job be triggered by the new file created by the previous run of this job?
_________________
Thanks and Regards..
Rajesh
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
kolusu
Site Admin
Site Admin


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

PostPosted: Thu May 11, 2006 7:40 am    Post subject: Reply with quote

rajeshkoratti,

What is the point of re-submitting the job once again if the input record is bad? You did not make any changes to the program. So no matter how many times you re-submit the job you will end up in the error condition.

This is exactly the reason you have IMS check point restart feature.

Quote:

How can the job be triggered automatically in CA7?
Can the return code trigger the job? If yes, how many times job can be triggered this way in CA7?

Can the job be triggered by the new file created by the previous run of this job?


1. Yes. Look up for the PGM SASSTRLR which can be added as a last step and you trigger any job.
2. Infinite no: of times
3. Yes


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
rajeshkoratti
Beginner


Joined: 14 Feb 2006
Posts: 42
Topics: 22

PostPosted: Tue May 16, 2006 1:35 am    Post subject: Reply with quote

Thanks Kolusu

One more help i need. Can you please provide me an example of the SASSTRLR program. And if possible some reference to the documentation pertaining to the same.

I have the CA-7 manuals which i downloaded from the site. But somehow the content is still vague.
_________________
Thanks and Regards..
Rajesh
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
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