Enterprise Manager script keywords

You can use Visual Basic or JavaScript scripts to automate various Enterprise Manager tasks. Enterprise Manager recognizes some keywords that you can use to interact with Enterprise Manager.

Displaying a prompt

Use the following keyword pair to prompt the user to enter a value. Use the following syntax:

PROPERTY_PROMPT_BEGIN(variable)PROPERTY_PROMPT_END

where variable identifies the variable name.

For example, the following code snippet prompts for a retry count.

Public Sub OnCustomProcess (CEObject) 

   'Prompt for a new retry count value.
   CEObject.RetryCount = PROPERTY_PROMPT_BEGIN(RetryCount)PROPERTY_PROMPT_END
   CEObject.Save()

End Sub