i'm newer to parellel job, i find that startloop and endloop in sequence job palette,
how to use startloop plugin to run job every 5 minutes?
can i use server job control to loop run a parallel job, is it bad performance or structure?
thanks
how to loop run job every five minutes
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Every five minutes is rather extreme - you're almost in the realm of creating a real-time service!
Between StartLoop and EndLoop you can, for example, include a Routine Activity that invokes a routine that does nothing but sleep for five minutes.
You can certainly do it yourself in a server job using job control code. This is, after all, exactly what a Job Sequence produces (you can inspect the job control code), therefore it's not bad practice. The controlling job need only execute on one node (the server machine) - once the parallel job starts its configuration file will specify what processing nodes it needs to use.
Between StartLoop and EndLoop you can, for example, include a Routine Activity that invokes a routine that does nothing but sleep for five minutes.
You can certainly do it yourself in a server job using job control code. This is, after all, exactly what a Job Sequence produces (you can inspect the job control code), therefore it's not bad practice. The controlling job need only execute on one node (the server machine) - once the parallel job starts its configuration file will specify what processing nodes it needs to use.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
If job1 writes the information to a text file, you could use an Execute Command activity to read the file (cat filename on UNIX or type filename on Windows). Output from the command is available in downstream activities when you click "Use Parameter".
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.