Hello guys, i am submiting a job inside a CLP, and need to know when it finishes so i can call another program interactively as soon as the submitted one finishes.
The only way i would know how to do this is to check in a loop the state of the job, but that would consume all the cpu, so i am guessing there must be an api or something that could make the CL listen for an event of some sort and make this happen.
Does anyone have a suggestion?
The only way i would know how to do this is to check in a loop the state of the job, but that would consume all the cpu, so i am guessing there must be an api or something that could make the CL listen for an event of some sort and make this happen.
Does anyone have a suggestion?



Comment