Chapter Contents


Communications Access Methods for SAS/CONNECT and SAS/SHARE Software

Setting SAS Options and Variables

You may need to set specific options to establish the connections that you want with SAS/CONNECT and SAS/SHARE when using the SPX communications access method.

Consult with your network administrator to determine what options must be set and what values to assign to them.

You may specify an option in any of the following forms:

Values for these options may contain up to eight characters, consisting of alphanumeric characters, the percent sign (%), the dollar sign ($), the pound sign (#), the at sign (@), and the underscore (_).

If you set multiple forms of the same option, here is the order of precedence that is followed:
SAS macro variable
OPTIONS statement
SAS invocation
SAS configuration file
DOS environment variable.


SPXMSGSIZE size-of-input/output-buffer
specifies the size of the SAS program input and output buffer. The range of acceptable values for this option is from 298 bytes to the maximum packet size that your network allows; for example, 1514 bytes on an Ethernet network and 4202 bytes on a Token Ring network. You must ensure that the IPX/SPX protocol is using the same packet type as the other computers that you want to communicate with. You must choose 802.2, 802.3, or similar packet types.


-set spxmsgsize 500

Ask your network administrator for advice about setting this option.


SASUSER userid
SASPASS password

On the local host when the remote host is secure, you must either assign a valid userid and a password to the SASUSER and SASPASS options or supply them to SAS, when prompted.

Consult with the system administrator of the remote host at which the spawner is invoked for a valid userid and a password.

The SASUSER and SASPASS options store the userid and the password of the remote host that, when passed to the remote host, allows a local host connection.


options set=sasuser bass;
options set=saspass time2go;

See Setting SAS Options and Variables for examples of the forms that you can use to specify SASUSER and SASPASS.

Also see PC Spawner Program for information about the -PROTECTION and -SECURITY options in the PC spawner program, which controls the security of the remote host.


Windows NT Only SAS/SHARE server security is supported on the Windows NT platform only.  [cautionend]

You may set the SASSECUR option to provide security for the SAS/SHARE server, allowing access to local hosts or clients whose userids and passwords have been verified.

Values that you set at a SAS/SHARE client follow:

SASSECUR=_NONE_ | _PROMPT_ | userid.password | _SECURE_

must be set at the SAS/SHARE client.

Setting this value does not establish secure sessions for connecting SAS/SHARE clients.

This is the default.

must be set at the SAS/SHARE client.

_PROMPT_ specifies that SAS prompt the user for userid and password information. When prompted for a password, the input field is not displayed. Choosing to prompt for a userid and a password provides more security than assigning the userid and the password to the system option.

must be set at the SAS/SHARE client.

This value specifies both the userid and password. Assigning both the userid and password directly to the SASSECUR option at the SAS/SHARE client may inadvertently publicize this information and compromise the security of the SAS/SHARE server. Assigning the value to the option in a file allows anyone to read it.

must be set at the SAS/SHARE server on a Windows NT host only.

The _SECURE_ value for the SASSECUR option requires a SAS/SHARE client to supply both a valid userid and password to the remote host or the remote host on which the server is running in order to allow client access to the server.

Specify the SASSECUR option before you create a server.


options set=sassecur _none_;
options set=sassecur _prompt_;
options set=sassecur bass.time2go;
options set=sassecur _secure;

See Setting SAS Options and Variables for examples of the forms that you can use to specify the SASSECUR option.

Chapter Contents



Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.