SETSTATE Macro

The SETSTATE macro sets the actual state and the extended display attributes of a resource or service.

Parameters: SETSTATE Macro

Example: SETSTATE Macro

In the following example, the SETSTATE macro is used to set the actual state and the extended display according to the parameters passed to the process that contains the macro.

PROD----- Automation Services : SETSTATE Macro Parameter Definition ----------- Command ===> Function=BROWSE .- Resource Identification ---------------------------------------------------. | System Name ......+ | | Version ..........+ | | Resource Class ...+ &CLS | | Resource Name ..... &NAME | '-----------------------------------------------------------------------------' .- Actual State --------------------------------------------------------------. | State ............ &V1 (Active, Inactive, Failed, Degraded, | | Starting, Stopping or Unknown) | | Description ...... &REASON | '-----------------------------------------------------------------------------' .- Extended Display ----------------------------------------------------------. | Intensity ... LOW (High or Low) | | Color ....... GREEN (Blue, Green, Pink, Red, Turquoise, White, Yellow) | | Highlight ... NONE (Blink, Reverse or None) | | Icon Flag ... (Use Attributes to change Icon color - Yes or No) | | | | Text ........ &EXTDISP | '-----------------------------------------------------------------------------' F1=Help F2=Split F3=Exit F9=Swap


Copyright © 2010 CA. All rights reserved.