The SDF-P and SDF commands return a standardized command return code that is made up of three components. These components indicate how the command was executed or whether an error occurred.
The command return code consists of the following three components: Subcode1 (SC1), designating the error class; Subcode2 (SC2), which returns additional information on the error class; Maincode, which returns a seven-byte error code to which a message text is allocated.
Request subcode1 |
| Returns as a result the value 0 if no error has yet occurred, or the error class of the last error to occur; |
Request subcode2 |
| Returns additional information on the error class. |
Request maincode |
| Returns the 7-byte error code that exactly describes the message class and the error; the error message for this code can be requested with the MSG( ) function or the command HELP-MSG |
Request error message text |
| Returns the message text that is allocated to the specified message code, in the specified language |