This procedure adds all program messages into response.
Parameter | Type | Description | |
---|---|---|---|
callStackEntry | 4096A | Mandatory | Call stack entry. The program name from call stack to which the message was sent. |
callStackEntryLen | 10I 0 | Optional | Length of call stack entry The length of the value for the Call stack entry parameter. See QMHSNDPM IBM API for more details. |
callStackEntryQual | 20A | Optional | Call stack entry qualification. This parameter is used when it is necessary to further identify the call stack entry. The parameter consists of two 10 character parts. The first part is the module name qualifier and the second part is the program name qualifier. |
The procedure returns status code. Following codes are supported.
Code | Numeric value | Description |
---|---|---|
API_SUCCESS | 0 | success |
API_PARSE_ERR | -32700 | JSON parsing error |
API_INVREQ_ERR | -32600 | Invalid request error |
API_METHOD_ERR | -32601 | Method not found error |
API_PARAMS_ERR | -32602 | Invalid params error |
API_INTERNAL_ERR | -32603 | Internal error. (Not known issue) |
API_SECURITY_ERR | -32604 | Security error |
API_APPLICATION_ERR | -32500 | Application error. This code is reserved for all kind of errors which are happen outside of Aperio. Means inside application (example: Errors which were issues by DC) |
API_SERVER_ERR | -32000 | Server error |
API_INDEX_ERR | -32501 | Index error (eg. Pageing error) |
API_NO_RECORDS_ERR | -32502 | No records found error (eg. Pageing error) |
Examples:
XPERRC = respAddPgmMessages(Z1PGMN);