Previous Topic: &ZSYSPARM

Next Topic: &ZTCPERNM


&ZTCPERDS

Returns the short message for a TCP/IP error code.

&ZTCPERDS n

Operands:

n

A valid error code number. If the number is not a recognized error code, the message, EUNKNOWN - UNKNOWN ERRNO is returned.

Examples: &ZTCPERDS

&B = &ZTCPERDS 40

sets the value of &B to the following:

N3AD01 - 40 - ENETUNREACH - DESTINATION NETWORK UNREACHABLE

If the number is not a recognized error number, &B is set to:

N3AD01 -xxx - EUNKNOWN - UNKNOWN ERRNO

where xxx is the error number supplied.