O'Reilly logo

SAS 9.4 Language Reference, 6th Edition by SAS Institute

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

As an alternative, the block that contains the zero can be collapsed. Here is an example:
[2001:db8::1]:80
Example of an IPv6 Address That Includes a URL
Here is an example of an IP address that contains a URL:
http://[2001:db8:0::1]:80
The http:// prefix specifies a URL. The brackets are necessary only if also specifying
a port number. Brackets are used to separate the address from the port number. If no port
number is used, the brackets can be omitted.
Fully Qualified Domain Names (FQDN)
Because IP addresses can change easily, SAS applications that contain hardcoded IP
addresses are prone to maintenance problems.
To avoid such problems, use of an FQDN is preferred over an IP address. The name-
resolution system that is part of the TCP/IP protocol is responsible for locating the IP
address that is associated with the FQDN.
The following example restores client activity in the paused repository:
PROC METAOPERATE
SERVER="d6292.us.company.com"
PORT=2222
USERID="myuserid"
PASSWORD="mypassword"
PROTOCOL=BRIDGE
ACTION=RESUME
OPTIONS=""
NOAUTOPAUSE;
If an IP address had been used and if the IP address that was associated with the
computer node name had changed, the code would be inaccurate.
An FQDN can remain intact in the code while the underlying IP address can change
without causing unpredictable results. The TCP/IP name-resolution system automatically
resolves the FQDN to its associated IP address.
Here is an example of an FQDN that is specified in a SAS GUI application.
Fully Qualified Domain Names (FQDN) 775
Figure 40.1 Example of an FQDN in a SAS Management Console Window
The full FQDN, d11076.na.apex.com, is specified in the Remote Host field of the
Connect Server Properties window in SAS Management Console.
Some SAS products impose limits on the length for computer names.
The following code is an example of an FQDN that is assigned to a SAS menu variable:
%let sashost=hrmach1.dorg.com;
rsubmit sashost.sasport;
Because the FQDN is longer than eight characters, the FQDN must be assigned to a SAS
macro variable, which is used in the RSUBMIT statement.
776 Chapter 40 Internet Protocol Version 6 (IPv6)

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required