GET-WAIT-STATE( ) method

Returns a string indicating the current wait-state.

Return type: CHARACTER

Applies to: SESSION system handle

Syntax

GET-WAIT-STATE ( )

If the SET-WAIT-STATE( ) method was called with "GENERAL" or "COMPILER", GET-WAIT-STATE( ) returns that string. If the SET-WAIT-STATE( ) method was called with an arbitrary pointer name, GET-WAIT-STATE( ) returns "CUSTOM". If there is no current wait-state, GET-WAIT-STATE( ) returns an empty string ("").