Escribe un mensaje de un catálogo de mensajes (con inserciones) en un rastreo de usuario. También se escribe un mensaje en un rastreo de servicio, si éste está activo.
El mensaje que se escribe en el rastreo de usuario tiene el formato siguiente:
<indicación hora-fecha> <NúmeroHebra> RastreoUsuario <Texto de mensaje con inserciones> <Explicación del mensaje>
void cciUserTraceW( int* returnCode, CciObject* object, const CciChar* messageSource, int messageNumber, const CciChar* traceText, ... );
Ninguno. Si se produce un error, el parámetro returnCode indica la razón del mismo.
const CciChar* myMessageSource=CciString("SwitchMSG",BIP_DEF_COMP_CCSID); const CciChar* text = CciString("propagando a terminal de adición", 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);