SPQLGMSG() API Function

Accesses thread-specific error or diagnostic message buffer contents.

Valid in: SPD Server

Syntax

int spqlgmsg(char **mbuf)

Required Argument

char **mbuf

returns a pointer to the thread's error or diagnostic message buffer. If mbuf is NULL, there is no message information. The call also returns the length of the thread's error or diagnostic message buffer. A 0 indicates that no message exists.

Details

The SPQLGMSG() function returns a pointer to the threads error or diagnostic message buffer. Call SPQLGMSG() function to get any diagnostic messages if you encounter an error executing an SPQL function. If there is message information, SPQLGMSG() function returns the message pointer in the mbuf parameter as well as the length of the message (the function return value).
Last updated: February 8, 2017