ZOC Online Help Topic:

Secure Shell (SSH) → REXX ZocDeviceControl Command for SSH

ZocDeviceControl is a ZOC-REXX Command, which allows to perform functions that are specific to a communication method.

Available sub-commands for the ZocDeviceControl script command in relation to SSH are:

       
RESOLV <hostname or ip>
 

Returns hostname and ip for the requested host in the form "<primary hostname>; <ip>" (e.g. SAY ZocDeviceControl("RESOLV mail.emtec.com") might return www2.emtec.com; 212.34.172.147).

 

 
← Back to Secure Shell (SSH)