Specifies the SAS engine that provides SQL explicit pass-through access.
Valid in: | SPD Server |
specifies the name of the engine. There are two valid values:
SASSPDS | specifies to obtain SQL pass-through to the server’s SQL processor from PROC SQL in SAS. Most SQL pass-through connections will use this value. |
SPDSENG | specifies to access SQL pass-through from a secondary connection (that is, a connection that is held by the server’s SQL processor). |
identify the SPD server domain and name server. The following connection-args arguments are for the SPD Server engines, SASSPDS and SPDSENG. Submit them as keyword=value pairs.
specifies a server user ID to access the server’s SQL processor. Enclose the value in single or double quotation marks.
specifies the password associated with the server user ID. This value is case sensitive. You should not specify a password in a text file that another user can view. You should use this argument in a batch job that is protected by file system permissions, which prohibit other users from reading the text file.
specifies a node name or an IP address for the SPD Server host server. Enclose the string in single or double quotation marks. If you do not specify a value, the server uses the current value of the SAS macro variable SPDSHOST= to determine the node name.
specifies the network address (port number) for the name server. Enclose the value in single or double quotation marks. If you do not specify a port number for the name server, SPD Server determines the network address from the named service spdsname in the/etc/services file.
specifies to issue a password prompt to access the server’s SQL processor. The prompter is case sensitive.
specifies an alias for the connection. When you specify an alias to identify the connection, use a string that is not enclosed in quotation marks. Refer to this name in subsequent SQL explicit pass-through statements.
execute(...) by alias
select * from connection to alias(...)
proc sql; connect to sasspds (dbq='mydomain' host='workstation1' service='spdsname' user='me' passwd='noway'); execute (create table employee_info (employee_no num, employee_name char(30), annual_salary num)) by sasspds; execute (insert into employee_info values (1, 'The Prez', 10000)) by sasspds; select * from connection to sasspds (select * from employee_info); disconnect from sasspds; quit;