Control-M/Enterprise Manager client is not responding,  a lot of alerts "Encountered error while setting value for autoedit %%xxxx" were generated.

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Control-M/Enterprise Manager


    COMPONENT:

    Control-M/Enterprise Manager


    APPLIES TO:

    Control-M/Enterprise Manager 8.0.00 Control-M/Enterprise Manager 9.0.00



    PROBLEM:

     

    Control-M/Enterprise Manager client is not responding,  a lot of alerts "Encountered error while setting value for autoedit %%xxxx" were generated.

    These jobs from where the alerts were generated do not have the variable %%xxxx defined in the job definitions.

     


    CAUSE:

    The error variable is a global variable and it's value was not identified properly.


    SOLUTION:

    On the Control-M/Server command line, use "ctmvar" command to check the existing global variables. The error variable should be in the list.

    ctmvar -ACTION LIST

    If you identify that the error variable is not in use, then you can use "ctmvar" command to delete the variable.

    ctmvar -ACTION DELETE -VAR "%%\VARIABLE_NAME"

    Ex.: 

    ctmvar -ACTION DELETE -VAR "%%\TEST". (It must have the "\") 

    If you cannot identify whether the error variable is needed or not, you can delete the variable though "ctmvar" command, then monitor whether the variable is generated automatically. If the variable is generated, then it should be still in use. You can use "Find And Update" tool in the Control-M/Enterprise Manager planning domain to search for the job that defined this global variable originally, then fix the the variable setting to get the correct value.

    Remove the alerts by performing the next steps on Control-M Configuration Manager:
     

       
    1. From the Manage tab, in the Alerts group, click Remove Old Alerts.

      The Remove Old Alerts window appears.

    2.  
    3. From the Date drop-down list, select the date to delete all alerts posted on or before the specified date, and then click OK.
    4.  
    5. Refresh the GUI Server by doing right click over it, select "Control Shell" and enter the "REFRESH_ALERTS" command, click "Apply".

     


    Article Number:

    000143937


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles