Returns the socket ID used by the interface; for example, when using IBM TCP/IP, the internal socket number (a small numeric value).
&ZSOCCID is used to identify an NCL socket or display produced by TCP/IP (for example, the NETSTAT command).
Example: &ZSOCCID
&SOCKET CONNECT HOSTNAME=&HOST PORT=&PORT
&IF &RETCODE EQ 0 &THEN +
&WRITE DATA=SOCKET &ZSOCID CONNECTED USING INTERFACE ID &ZSOCCID
| Copyright © 2009 CA. All rights reserved. |
|