How to make a job status NOT OK

Post Reply
User avatar
Amitanshu
Nouveau
Nouveau
Posts: 1
Joined: 21 Oct 2009 12:00

How to make a job status NOT OK

Post by Amitanshu » 21 Oct 2009 10:44

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

User avatar
rahulsehgal
Nouveau
Nouveau
Posts: 148
Joined: 19 Mar 2009 12:00
Location: Delhi
Contact:

Post by rahulsehgal » 21 Oct 2009 12:44

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

Post Reply