Writes a message from a message catalog (with inserts) to user trace. A message is also written to service trace, if service trace is active.
The message written to user trace has the following format:
<date-time stamp> <threadNumber> UserTrace <Message text with inserts> <Message Explanation>
void cciUserTraceW( int* returnCode, CciObject* object, const CciChar* messageSource, int messageNumber, const CciChar* traceText, ... );
None. If an error occurs, the returnCode parameter indicates the reason for the error.
const CciChar* myMessageSource=CciString("SwitchMSG",BIP_DEF_COMP_CCSID); const CciChar* text = CciString("propagating to add terminal", BIP_DEF_COMP_CCSID); const CciChar* insert = CciString("add", BIP_DEF_COMP_CCSID); CciNode* thisNode = ((NODE_CONTEXT_ST*)context)->nodeObject; int rc = CCI_SUCCESS; cciUserTrace(&rc, (CciObject*)thisNode, myMessageSource, 1, text, insert, (CciChar*)0); checkRC(rc);
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
as24580_ |