In the context of trace management, this function is used to retrieve the contextual value associated with a key name from the execution thread.
Context
Windows client,
Windows server,
Java client,
Java server,
Adelia Web client,
Adelia Cloud client.
Parameters
ALPHA(n) |
KeyName |
Name of key for which the contextual value is queried. |
ALPHA(n) |
CtxtValue |
Returned Contextual value related to the key name KeyName. If no value has been found, the result value is *BLANK. |
BOOL |
RetCode |
Returns *TRUE if a value for the key name provided has been found. |
For example
ALPHA(128) ValRes
BOOL Bres
CALL_DLL 'VaToolBx' 'VaToolBxGetMDCLogging' 'department' ValRes BRes
The function returns the 'Accounting' value in the ValRes variable and *TRUE in the BRes variable.
List of the VaToolBx functions by topic