I am executing a VB 6 exe through the control M, based on some condition i want to send some return message to control M so that the control M shows the status of the job as Not OK.
Based on this NOT OK i want to execute some other jobs..
Please help.
Thanks in advance
How to make a job status NOT OK
- rahulsehgal
- Nouveau
- Posts: 148
- Joined: 19 Mar 2009 12:00
- Location: Delhi
- Contact:
Hi Amit.,
You can use Steps tab in Job Definition,
on this you can use On Statement and Code to specify your message and then Do Not Ok the job, after this You can specify on On Statement * and code as NOTOK, Do Force Job SchedlTabname, jobname etc, this way you can force the other job in Control-M on failure of your previous job with certain message specified in previous step.
For more information on this please check page 260 in Job Parameter and Reference Variable Guide.
Regards,
Rahul Sehgal
You can use Steps tab in Job Definition,
on this you can use On Statement and Code to specify your message and then Do Not Ok the job, after this You can specify on On Statement * and code as NOTOK, Do Force Job SchedlTabname, jobname etc, this way you can force the other job in Control-M on failure of your previous job with certain message specified in previous step.
For more information on this please check page 260 in Job Parameter and Reference Variable Guide.
Regards,
Rahul Sehgal