Checking the jobs in runnable state
Moderators: chulett, rschirm, roy
Checking the jobs in runnable state
hey guys,
I just want to check whether the jobs in a category are runnable state or not. i know we can check in datastage director but how can i do in unix using scripts. If they are in runnable state, i need to run the sequence or else need to compile the jobs and run the sequence. this is all has to be done in unix.
please help to write the script.
I just want to check whether the jobs in a category are runnable state or not. i know we can check in datastage director but how can i do in unix using scripts. If they are in runnable state, i need to run the sequence or else need to compile the jobs and run the sequence. this is all has to be done in unix.
please help to write the script.
-
- Premium Member
- Posts: 385
- Joined: Wed Jun 16, 2004 12:43 pm
- Location: Virginia, USA
- Contact:
Why not just let your JobActivity stage use the Reset if required the run action?
Chuck Smith
www.anotheritco.com
www.anotheritco.com
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
WHY does it all have to be done in UNIX?!!
Parse the output from dsjob -jobinfo
Helping you to write the script, well, that's "professional services" and attracts a fee. Particularly since the requirement is regarded as silly.
Parse the output from dsjob -jobinfo
Helping you to write the script, well, that's "professional services" and attracts a fee. Particularly since the requirement is regarded as silly.
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.
Re: Checking the jobs in runnable state
You can't compile jobs from a Unix script.kool_cons wrote:or else need to compile the jobs and run the sequence. this is all has to be done in unix.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You can modify that script to reset and run any job. Ray is correct in saying to reset every job in a category is not worth it.
We do not mind helping you but try to be specific. Do not change your requirements in mid stream. We are doing this for fun. We do not get paid to answer these questions or do your job. When it becomes work and not fun then guys like Hester and Bland quit answering questions. Don't try to chase the rest of us off. We really do like to help. Make your best effort then ask when you get truly stuck. We will be glad to help.
We do not mind helping you but try to be specific. Do not change your requirements in mid stream. We are doing this for fun. We do not get paid to answer these questions or do your job. When it becomes work and not fun then guys like Hester and Bland quit answering questions. Don't try to chase the rest of us off. We really do like to help. Make your best effort then ask when you get truly stuck. We will be glad to help.
Mamu Kim