Return values for entry points

The following table summarizes the return values for each entry point.

Return values for entry points

Entry Point

Return Values

Monitor 

C++ Based Returns ResStateValues: 

  • VCSAgResOnline
  • VCSAgResOffline
  • VCSAgResUnknown
  • VCSAgResIntentionalOffline

Script-Based Exit values: 

  • 99 - Unknown
  • 100 - Offline
  • 101-110 - Online
  • 200 - Intentional Offline
  • Other values - Unknown.

Info 

0 if successful; non-zero value if not successful 

Online 

Integer specifying number of seconds to wait before monitor can check the state of the resource; typically 0, that is, check resource state immediately. 

Offline 

Integer specifying number of seconds to wait before monitor can check the state of the resource; typically 0, that is, check resource state immediately. 

Clean 

0 if successful; non-zero value if not successful 

If clean fails, the resource remains in a transition state awaiting the next periodic monitor. After the periodic monitor, clean is attempted again. The sequence of clean attempt followed by monitoring continues until clean succeeds. Refer to State transition diagrams for descriptions of internal transition states. 

Action 

0 if successful; non-zero value if not successful 

Attr_changed 

None  

Open 

None 

Close 

None 

Shutdown 

None