XLFIPV FORCEIP4 (11499)    OPTION (19)

View in ViViaN Menu
Name Value
NAME XLFIPV FORCEIP4
MENU TEXT Convert any IP address to IPv4
UPPERCASE MENU TEXT CONVERT ANY IP ADDRESS TO IPV4
PACKAGE KERNEL
ROUTINE IP4^XLFIPV
DESCRIPTION
XU*8*605 IPv4 and IPv6 Utilities 
                           an IPv4 equivalent, or the null address 
                           "0.0.0.0" if the input address is invalid, or 
                           the null address "0.0.0.0" if an IPv6 address 
                           is input which does not have an IPv4 
                           equivalent.
  
Convert an IP address (either IPv4 or IPv6) into an IPv4 address in a 
standardized format: "127.0.0.1".  
Usage: S Y=$$FORCEIP4^XLFIPV(IP) 
   VARIABLES:  Input     IP 
                          (string) IPv4 or IPv6 Address to be converted.
   VARIABLES:  Output    returns:  An IPv4 address in "nnn.nnn.nnn.nnn" 
                           notation if the input address is valid and has
CREATOR USER,SEVENTEEN
TYPE run routine