Previous Topic: &ZSOCCID

Next Topic: &ZSOCFHNM


&ZSOCERRN

Returns the error number value associated with the last referenced socket.

&ZSOCERRN is set in combination with &ZFDBK and &ZSOCVERR. For more information, see the appendix "&SOCKET Verbs".

Example: &ZSOCERRN

&SOCKET SEND ID=&SOCKID DATA=&MSG 
&IF &RETCODE NE 0 &THEN +
   &WRITE DATA=SEND FAILED ERRNO=&ZSOCERRN

More information:

&ZSOCVERR