skip to main content

Library Routines : J$NETADDRESS

J$NETADDRESS
The J$NETADDRESS library routine retrieves the name and the IP address of the computer where this routine is executed.
Syntax:
 CALL "J$NETADDRESS" USING computerName 
Parameters:
[*] A computer may have multiple IPs and multiple alias name for the same IP too, so you might not receive the expected IP and name. Usually a safe method to get the desired information is to change the hosts configuration file (/etc/hosts on Linux/Unix, %SystemRoot%\System32\drivers\etc\hosts on Windows) appropriately.
Examples:
Example - Get the current computer name and ip address
CALL "J$NETADDRESS" USING comp-Name comp-IpAddress

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left