How can I remove a Job that is no longer Executing but still shows as Yellow in the Control-M/Enterprise Manager GUI? - INCLUDES VIDEO
Knowledge Article
How can I remove a Job that is no longer Executing but still shows as Yellow in the Control-M/Enterprise Manager GUI? - INCLUDES VIDEO
How can I remove a Job that is no longer Executing but still shows as Yellow in the Control-M/Enterprise Manager GUI?
Control-M/Server for UNIX and Microsoft Windows
Control-M/Server for UNIX and Microsoft Windows
All versions of Control-M/Enterprise Manager and Control-M/Server for UNIX and Microsoft Windows
Control-M/Server for UNIX and Microsoft Windows
Control-M/Server for UNIX and Microsoft Windows
All versions of Control-M/Enterprise Manager and Control-M/Server for UNIX and Microsoft Windows
How can I remove a Job that is no longer Executing but still shows as Yellow in the Control-M/Enterprise Manager GUI? How can I change the "Executing" (Yellow) status of a job that has already completed executing on the Control-M Server?
The Perl script ctm_server/scripts/force_end_job.pl forces a job in the Submitted or Executing state to end NOTOK (COMPSTAT=1) on the Control-M/Server.
Requirements: - Control-M/Server version 6.2.01 or higher - Control-M/Server must be running. - SSL is disabled.
Usage: Unix: $HOME/bmcperl/perl $CONTROLM_SERVER/scripts/force_end_job.pl <order_id in base 36> [Y|N(debug)] 9.0.20.000: $CTM_PERL_HOME/perl $CONTROLM_SERVER/scripts/force_end_job.pl <order_id in base 36> [Y|N(debug)]
Windows:
Run from an Administrative command prompt (right-click cmd.exe and select run as administrator): "<CONTROL-M/Server>\bmcperl\bin\perl" "<CONTROL-M/Server>\ctm_server\scripts\force_end_job.pl" <order_id in base 36> [Y|N (debug)] 9.0.20.000: "%CTM_PERL_HOME%\perl" "C:\Program Files\BMC Software\Control-M Server\ctm_server\scripts\force_end_job.pl" <order_id in base 36> [Y|N (debug)]
Notes: (1) The job ends NOTOK on the Control-M/Server side only!. The job is not killed on the Control-M/Agent machine. The assumption is that the job ended on the Agent OS and the Agent failed to communicate the state back to Control-M/Server. (2) Only ON Statements of type 'operating system completion code' will be performed. (3) This is an interactive script. The user has to confirm the action. (4) Only the Control-M/Server user can run this program on Unix. (5) There are no security checks on Windows. Therefore, it is recommended to enable execution permissions of this program only to a specific user. (6) No database lock. If the Control-M/Server receives the job status from the Control-M/Agent, before handling the force-end job request, the job will end according to the update from the Agent (even though the force_end_job.pl likely completed successfully) .
Control-M/Server for UNIX and Microsoft Windows
Control-M/Server for UNIX and Microsoft Windows
All versions of Control-M/Enterprise Manager and Control-M/Server for UNIX and Microsoft Windows