View previous topic :: View next topic |
Author |
Message |
rajeshkoratti Beginner
Joined: 14 Feb 2006 Posts: 42 Topics: 22
|
Posted: Thu May 11, 2006 5:52 am Post subject: CA-7 JobScheduling with Return Codes |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu May 11, 2006 7:40 am Post subject: |
|
|
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 |
|
 |
rajeshkoratti Beginner
Joined: 14 Feb 2006 Posts: 42 Topics: 22
|
Posted: Tue May 16, 2006 1:35 am Post subject: |
|
|
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 |
|
 |
|
|