ROBOT group job

Hi,

I have one ROBOT group job Job1. This job has three components JobX, JobY, JobZ. Currently this group job run only once.JobX unzips the file, JobY validates the file and JobZ uploads the file into system. Initial CL for these jobs are CLx, CLy, CLz resp.
Now due to new requriement we want this group job to run continuosly and if any file received then do the processing for that file.That means e.g. if at 10:00 AM if we have receive any file and unzip that file, validate the file and upload the file. Again if 10:15 if we receive any file than follow the same processing for this file.
Now my question is where do I need to add the logic to keep running the group job ? Do I need to add logic in CLx which is starting CL program for JobX ? Also if JobX keeps looking files for 3 hours then during this time will JobY and JobZ run ?

Thanks
Prashant
inform_prashantAsked:
Who is Participating?
 
_b_hCommented:
Hi, Prashant
You have a few options....
1) On the Group job, on the Group Control screen, you can select 'Stop processing group if one job fails'
2) You could combine the 3 jobs into one Robot job, by putting a separate entry for each job on the ROBOT Command Entry screen. Each entry has the option of cancelling when an error occurs, or ignoring the error
3) Combine your 3 CL programs into one program (perhaps by creating a new program that calls the other three). Then you can control when the job ends.

Barry
0
 
_b_hCommented:
Hi, Prashant

For the Group job JOB1, go to the Advanced Scheduling screen by using option 2 on the Job Schedule List.
You can select that the job runs every 15 minutes by putting a '1' beside the EVERY parameter and putting 15 in minutes field.
The group job will run each of its members CLx, CLy, then CLz. Then, 15 minutes later, it will run them all again.

Barry
0
 
inform_prashantAuthor Commented:
Breey,

Got it....one more question....
If the first job JobX fails (due to file not available) then will the other two JobY and JobZ  run ?

Thanks for your reply.......

Prashant
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.