I have a need to find out the mode my broker is running in programmatically.
What I am trying to do is implement a security policy which will vary depending on the current mode i.e. Production or Development.
Something like this:
IF BROKER_MODE EQ "Production" THEN
Implement_Security_Policy = YES.
ELSE
Implement_Security_Policy = NO.
Thanks in advance.
Jatinder
DEFINE VARIABLE lDevMode AS LOGICAL NO-UNDO.
lDevMode = DYNAMIC-FUNCTION("devCheck" IN web-utilities-hdl).
Yeah, I figure that out after looking in one of the Progress programs. But really appreciated for the answer.
Thanks