problem with step codes configuration

Everything about Control-M Enterprise Manager Server installation or setup.
Post Reply
User avatar
typhoeus
Nouveau
Nouveau
Posts: 7
Joined: 10 Mar 2009 12:00

problem with step codes configuration

Post by typhoeus » 22 Apr 2011 6:56

Hi to all! I'm having a problem with a Step codes config. I have a job that is configured like this:

ON Stmt=* CODE=OK
DO Force-Job xxxxxxxxx

ON Stmt=* CODE=COMPSTAT=99
DO Condition yyyyyyyy
DO OK

Problem: When it returns 0 (OK) everything go as planned. It forces the job it should. But when the return is 99, it does the condition it is supposed to, but it does also the Force-job described in CODE=OK. What am i doing wrong? Ty

User avatar
rchkevin
Nouveau
Nouveau
Posts: 67
Joined: 29 Oct 2007 12:00
Location: Chennai

Post by rchkevin » 24 Apr 2011 5:50

Verify the order in which the statements are configured

First configure on Code OK

followed by compstat 99

User avatar
donnawonna
Nouveau
Nouveau
Posts: 8
Joined: 19 Apr 2011 12:00

Post by donnawonna » 25 Apr 2011 1:33

When your COMSTAT=99 comes up and you DO OK, it probably thinks it should force the job, because the top line is looking for OK.

I think you should change the line-
ON Stmt=* CODE=OK
to
ON Stmt=* CODE=COMSTAT=0

Post Reply