Options to Locate an SPD Server Host

HOST=

Summary

Specifies an SPD Server machine by node name or IP address, and locates the Name Server using the SERVICE value.

Syntax

HOST=hostname <SERVICE=service> 
Arguments
hostname
is the node name of the SPD Server machine or an IP address.
service
is the name of a service or the port number for the SPD Server's Name Server.

Description

This option provides the node name of an SPD Server host machine and locates the port number of the SPD Server's Name Server. When there is no SERVICE= specification, SPD Server checks the client's /etc/services file (or its equivalent file) for SPDSNAME – a reserved name for the SPD Server's Name Server.

Examples

Specify the server machine SAMSON and use the default named service SPDSNAME to obtain the port number of the SPD Server Name Server.
   LIBNAME mylib sasspds 'spdsdata'
      host='samson';

Specify the server machine SAMSON and provide the port number of the SPD Server Name Server.
   LIBNAME mylib sasspds 'spdsdata'
      host='samson'
      service='5002';

Using a Macro Variable to Specify the SPD Server Host

Assign the macro variable SPDSHOST to the SPD Server host SAMSON so that the LIBNAME statement is not required to SAMSON.
   %let spdshost=samson;
   LIBNAME mylib sasspds 'spdsdata'
      user='yourid'
      password='swami';

SERVER=

Summary

Specifies an SPD Server host machine by node name, and locates the network address (port number) of the SPD Server Name Server.

Syntax

SERVER=hostname.servname 
Arguments
hostname
is the node name of the SPD Server host machine.
servname
is the name of a service or the port number of the SPD Server Name Server.

Examples

Specify the SPD Server host machine SAMSON and use the default named service SPDSNAME to obtain the port number of the SPD Server Name Server.
   LIBNAME mylib sasspds 'spdsdata'
      server=samson.spdsname;
Specify the SPD Server host machine SAMSON and give the port address of the SPD Server Name Server.
   LIBNAME mylib sasspds 'spdsdata'
      server=samson.5002;