on 07-22-2009 2:14 PM
Hi,
Is there any way to make a particular Background Job status to SUSPEND State.
- we use BTCTRNS1 & BTCTRNS2 to move all the jobs to Suspend state at one go.
- But I would like to check if there is a way to move one particular job to Suspend state, and again change it back to Active state.
Regards,
Satish.
Hi,
But I would like to check if there is a way to move one particular job to Suspend state, and again change it back to Active state
I think this is not possible. If you dont want to run any perticular job then you can put it in schedule status as said above
Thanks
Sushil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Basically
this is how a Background Job flows.
1. Scheduled - The job has been created, but it has not yet been assigned a starting time.
2. Released - The job has been created and it has been assigned a starting time.
3. Ready - The job is ready to be processed.
4. Active - The job is being processed.
5. Finished - The job has finished successfully.
6. Cancelled - The job did not finish successfully.
if u want to make a job not to work for some period of time, then take it from released to scheduled.
Later when u require u can release it back.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear satish c,
As per my knowledge, I dont think if there is any option to suspend a single job. As you rightly said BTCTRNS1 and BTCTRNS2 will suspend and release all jobs.
Since it is only single job which you want to suspend then what you can do is change the state of that job from Released to Schedule state i.e., remove the Job start date, time and periodicity (if it is a periodic job) and again you can get the job back to Release state by giving the start condition.
Hope clarifies.
Regards,
Sharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Satish C,
If it is regarding suspending the active job then as per my knowledge it would not work with BTCTRN1 also to suspend an ACTIVE Job.
As per me Active job can be cancelled, but suspending for some time and again changing to Active might not be possible. But you can try the option "Capture Active Job" which will stop the active status job for debugging. Check if this option can meet your requirement. Select the job with Active status and click on Capture Active Job from Job Menu
Regards
Sharath
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.