check-agent-mode
This function returns TRUE if the agent is running in the specified mode (development or production).
Location
web\objects\web-util.p
Parameters
INPUT p_mode AS CHARACTER
The environment mode of the transaction server, either "production", "development", or "evaluation".
Returns
LOGICAL
Notes
This function does not compare for equality because the environment mode setting might contain other, user-defined options.
Examples
See the init-session procedure in web\objects\web-util.p.