GPQEMS (length, errind, number, message) |
Note:
This subroutine is a graPHIGS API State List (PSL) inquiry. For an overview, see "PSL Inquiries"
Purpose
Use GPQEMS to inquire the current error message. If an error was generated, the graPHIGS API returns the number of bytes in the error message and the error message text.
If the inquired information is available, the error indicator is returned as zero, and the values are returned in the output parameters. If the error indicator indicates that an output parameter is not large enough for the requested data, then the values will be available up to the length specified. If the inquired information is unavailable, the error indicator contains an error number indicating the reason, and the values returned in the output parameters are unpredictable.
Parameters
Error Codes
None
Related Subroutines
None
RCP code
201337859 (X'0C002C03')