SPDSHOST Macro Variable

Assigns an SPD Server host name.

Valid in: SPD Server
Restriction: Assignments for macro variables with character input (for example, YES | NO | BINARY arguments) must be entered in uppercase (capitalized).

Syntax

SPDSHOST=HOST-NAME

Required Argument

HOST-NAME

the node name of the SPD Server machine.

Details

If you create a SAS macro variable named SPDSHOST or an environment variable named SPDSHOST, then whenever a LIBNAME statement does not specify a server host machine, SPD Server looks for the value of SPDSHOST to identify the host server.

Example

The first statement assigns the host Samson to the macro variable SPDSHOST.
%let spdshost=SAMSON;

libname myref sasspds 'mylib'
user='siteusr1'
password='mypasswd';
Last updated: February 8, 2017