SAS/CONNECT Client Tasks

Task List

  1. Specify XMS as the communications access method.
  2. Specify encryption of client/server data transfers (optional).
  3. Sign on to the same symmetric multiprocessor (SMP) computer.

Specifying XMS as the Communications Access Method

XMS is the default communications access method to sign on to one or more sessions on the same multiprocessor computer that runs the z/OS operating environment. Therefore, you do not have to explicitly specify the default.
Note: TCP/IP is the default communications access method for all other operating environments.
If you choose to explicitly specify XMS, you can use the COMAMID= option in an OPTIONS statement. For example:
OPTIONS COMAMID=access-method-ID;
COMAMID is an acronym for Communications Access Method Identification. access-method-ID identifies the method used by the client to communicate with the server. XMS, which is an abbreviation for Cross Memory Services, is an example of an access-method-ID. Alternatively, you can set this option in a SAS configuration file or in a SAS start-up command.
Example:
options comamid=xms;

Encrypting Data in Client/Server Transfers

If network security is available and is configured at the client, you can specify SAS options to encrypt all data that is transferred between a client and a server. In the following example, the NETENCRYPTALGORITHM= option specifies the DES encryption algorithm.
options netencryptalgorithm=des;
For complete details about network security options, see the SAS/CONNECT User's Guide.

Signing On to the Same Multiprocessor Computer

Tasks for Signing On to an SMP Computer

If your client computer is equipped with SMP, and if you want to run one or more server sessions on your computer, perform these steps:
  1. Specify the server session.
  2. Specify the SASCMD command to start SAS.
  3. Sign on to the server session.

Specifying the Server Session

You can specify the server session in an OPTIONS statement:
OPTIONS PROCESS=session-ID;
You can also specify it in the SIGNON statement or command:
SIGNON session-ID;
session-ID must be a valid SAS name that is 1 to 8 characters in length, and is the name that you assign to the server session on the multiprocessor computer.
Note: PROCESS=, REMOTE=, CREMOTE=, and CONNECTREMOTE= can be used interchangeably. For details, see CONNECTREMOTE= System Option in SAS/CONNECT User's Guide.
For details about SIGNON, see SIGNON statement.

Starting SAS Using the SASCMD Option

Use the SASCMD option to specify the SAS command and any additional options that you want to use to start SAS in the server session on the same multiprocessor computer.
The SASCMD option can be specified in an OPTIONS statement:
OPTIONS SASCMD=":SAS-system-options" | "!SASCMD SAS-system-options" ;
You can also specify it directly in the SIGNON statement or command:
SIGNON name SASCMD=":SAS-system-options" | "!SASCMD SAS-system-options" ;
Example:
options sascmd=":memsize=64M nonumber";
The -DMR option is automatically appended to the command. If !SASCMD is specified, SAS/CONNECT starts SAS on the server by using the same command that was used to start SAS for the current (parent) session.
Note: In order to execute additional commands before starting SAS, you might write a script that contains the SAS start-up commands that are appropriate for the operating environment. Specify this script as the value in the SASCMD= option.
For details, see SASCMD= System Option in SAS/CONNECT User's Guide and the SIGNON statement.

Signing On to the Server Session

Example 1:
In the following example, XMS is the access method, SAS1 is the name of the server session, and the MEMSIZE= option is used when starting SAS on a multiprocessor computer.
options comamid=xms;
signon sas1 sascmd=":memsize=64M";
Example 2:
In the following example, OPTIONS statements set the values for the COMAMID= , the SASCMD=, and the PROCESS= options. The SASCMD= option is a non-blank value that causes the same CLIST that was used to start the client session to be used to start the server session. The PROCESS= option identifies the server session on the same multiprocessor computer. Because the SASCMD= and the PROCESS= options are defined, only a simple SIGNON statement is needed.
options comamid= xms sascmd="abc";options process=sas1;signon;