P 2 K_SMERL
Back to current versionRestore this version

P2K_SMERL is a utility procedure that is called from a variety of PL/SQL procedures, packages and functions. Its purpose is to write a message out to the P2K_AM_EXECUTION_RUN_LOGS table, for reporting or any other purpose.

This routine is used for issuing trace messaging, as well as for outputting messages that will then be reported using the generic report template UMEX.

Parameters#

P_MEX_IDNumberThe Execution ID that the run logs will be written against
P_MODULE_NAMEVarchar(30)
P_TRACE_LEVELVarchar(1)A numeric value from 0 to 9, defaulted to "0", if left as NULL
P_CONTEXT_1Varchar(4000)A text area to put any contextual information
P_CONTEXT_2Varchar(4000)A text area to put any contextual information
P_MESSAGE_CODEVarchar(4000)
P_ERROR_LEVELVarchar(1)Refers to te values found in ERROR_LEVEL - usually set to "0"
P_RUN_LOG_TEXTVarcharThis is the message that is shown in the VMEX grid or on the UMEX report