Syntax for the LIBNAME Statement, SASESOCK Engine |
Valid: | client session and server session |
Category: | Data Access |
See: | LIBNAME statement under Windows UNIX OpenVMS z/OS |
See Also: | Base SAS LIBNAME Statement |
Syntax | |
Arguments | |
Option |
Syntax |
LIBNAME libref SASESOCK "port-specifier " <TIMEOUT=time-in-seconds>; |
specifies a reference to a TCP/IP pipe instead of to a physical disk device.
The libref that you specify must be a valid SAS name, and it must be the first argument in the LIBNAME statement.
identifies the SASESOCK engine to process input to and output from a TCP/IP port instead of a physical disk device.
"port-specifier" can be represented in these ways:
is a hardcoded port number that specifies an explicit port on the computer where the asynchronous RSUBMIT is executing.
LIBNAME payroll SASESOCK ":256";
Requirement: | If the port number that you specify is in use, access will be denied until it is available again. |
specifies the name of the port service on the computer where the asynchronous RSUBMIT is executing.
LIBNAME payroll SASESOCK ":pipe1";
Requirement: | If you specify a port service, it must be configured in the SERVICES file of the computers at which the client and server sessions are running. |
Requirement: | If the port service that you specify is in use, access will be denied until it is available again. |
See Also: | For details about configuring port services in the SERVICES file, see Communications Access Methods for SAS/CONNECT and SAS/SHARE. |
specifies an explicit port number on the computer that is specified by computer-name.
LIBNAME payroll SASESOCK "apex.finance.com:256";
Requirement: | If the port number that you specify is in use, access will be denied until it is available again. |
specifies the name of the port service on the computer that is specified by computer-name.
LIBNAME payroll SASESOCK "apex.finance.com:pipe1";
Requirement: | If you specify a port service, it must be configured in the SERVICES file of the computers at which the client and server sessions are running. |
Requirement: | If the port service that you specify is in use, access will be denied until it is available again. |
See Also: | For details about configuring port services in the SERVICES file, see Communications Access Methods for SAS/CONNECT and SAS/SHARE. |
is an alias that refers to an implicit port number that SAS dynamically selects from a pool of available ports when the asynchronous RSUBMIT begins execution. The actual port that SAS selects is stored automatically in the SAS Metadata Server without your knowledge of the port's identity. Because the alias is mapped to the port and is stored in the metadata server, you can always use the alias without concern about the actual port number.
LIBNAME payroll SASESOCK "mypipe";
specifies the time in seconds that a SAS process will wait to successfully connect to another process.
libname in1 sasesock ":pipe1" timeout=50;
Default: | 10 |
See Also: | For an explanation of MP CONNECT using piping, see Pipeline Parallelism. |
See Also: | For an example of a SAS/CONNECT application that implements MP CONNECT using piping, see Example 6: Using MP CONNECT with Piping. |
Copyright © 2008 by SAS Institute Inc., Cary, NC, USA. All rights reserved.