NetGetError

This function is used to return the text of an error from the last RMNet operation.

Usage

CALL "NetGetError" USING
         error-pointer
         error-length
         GIVING
         status-code.  

Parameters

error-pointer A pointer to an alphanumeric item describing the error that occurred during the transaction, if any. After use, use NetFree to return memory used to store response.
error-length A numeric item returning the length of the error to which error-pointer points.
status-code A numeric item that, if nonzero, indicates the request encountered an error. In this case, the string representation of the error may be obtained by calling NetGetError.