Chapter Contents |
Previous |
Next |
Communications Access Methods for SAS/CONNECT and SAS/SHARE Software |
System and Software Requirements for SAS/SHARE |
SAS/SHARE requires the following levels of system software to support the XMS access method:
Defining Resources for the XMS Access Method |
Setting SAS Options |
You may specify a SAS option in any of several forms, as follows:
OPTIONS option-name=value;
Example:
options subsysid=sas0;
option-name=value
Example:
set subsysid=sas0
Add variable-name(default value) to the SAS CLIST. Then add variable-name(current value) at the SAS invocation.
Example CLIST:
subsysid(rmthost) /* XMS options */
Specify the CLIST at the SAS invocation, as follows:
sdssas subsysid(sast) ('comamid=xms')
If you set multiple forms of the same option, here is the order of precedence that is followed:
OPTIONS statement | |
AUTOEXEC file | |
SAS invocation | |
SAS configuration file | |
CLIST variable. |
SUBSYSID Option |
Defining an inactive subsystem causes the OS/390 host to create a subsystem communications vector table (SSCVT) at IPL time. The SSCVT chain is in common memory and is easily accessible to the XMS access method routines. The SSCTSUSE field of the SSCVT is available to these routines and is used as the anchor point for their control blocks.
The default value for SUBSYSID is SAST. You must set this option to enable clients to access the server with the XMS communications access method. Set this option at both the SAS/SHARE server and at each client host that will access the server.
Client Tasks |
Specifying the XMS Access Method |
Note: XMS is the
default communications access method on
the OS/390 platform. You may omit specifying the access method in a COMAMID
statement and the XMS access method is assumed, by default.
If you specify the XMS communications access method at the client before you access a server, use the following syntax to specify the XMS access method at each connecting client:
OPTIONS COMAMID=access-method-id;
where 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 (an abbreviation for Cross-Memory Services) is an example of an access-method-id.
Example:
options comamid=xms;
The server is accessed using the XMS access method.
You may specify the COMAMID option in an OPTIONS statement, at a SAS invocation, or in a SAS configuration file.
Additionally, you may use the COMAUX1 and COMAUX2 options to designate auxiliary communications access methods. See SAS/CONNECT and SAS/SHARE: Supported Access Methods According to Host Release for the supported access methods by host. If the first method fails to access a server, the second method is attempted, and so on. You can specify up to two auxiliary access methods, depending on the number of methods that are supported between client and server hosts.
COMAUX options can be specified only at a SAS invocation or in a SAS configuration file. The syntax for the COMAUX options follows:
COMAUX1=alternate-method COMAUX2=alternate-method
An example of configuration file entries for an OS/390 client connecting to an OS/390 server follows:
comamid=xms comaux1=tcp comaux2=appc
If the server cannot be reached using the XMS access method, a second attempt is made with the TCP/IP access method, and a third attempt with the APPC access method.
Specifying a Server Name |
To use the XMS access method, a server and a client must be running on the same OS/390 system.
You must specify the server name in the LIBNAME and PROC OPERATE statements using the following syntax:
SERVER=server-id
where server-id is a name that you assign to the server. The name may contain up to eight characters.
See SAS Language Reference: Dictionary for details about SAS naming rules. See SAS/SHARE User's Guide for details about the LIBNAME and PROC OPERATE statements.
Client Example |
The following example illustrates the statements that you specify in an OS/390 client configuration file to access a server with the XMS access method:
libname sasdata 'edc.prog2.sasdata' server=share1;
The XMS access method is assumed by default. The LIBNAME statement specifies the data library that is accessed through the server SHARE1.
Note: The
XMS access method is the default access method on the OS/390 platform.
Server Tasks |
Installing the SAS SVC Routine |
The SAS SVC control program routine is an interface between the OS/390 operating system and a specific request, such as "third-party checking." This facility provides verification in the form of calls for authentication of both the userid and password and of library authority.
If you have already installed the SAS SVC routine for Release 6.09 of SAS software, do not repeat the step here. If you need to perform the installation, see the Installation Instructions and System Manager's Guide, The SAS System under MVS for details.
Because SAS SVC in Release 6.09 is backward compatible, it replaces the SAS SVC routines from previous releases. You may continue using previous releases of base SAS and SAS/SHARE with the Release 6.09 SAS SVC that is installed on your system.
You must verify that the SAS system for the SVC routine accurately reflect the way that the SAS SVC is installed. The SAS option SVC0SVC should be set to the number at which the SAS SVC is installed (for example, 251 or 109). If the SAS SVC is installed at 109 as an ESR SVC, the SAS option SVC0R15 should be set to the ESR code (for example, 4).
If you have more than one CPU, verify that the SAS SVC routine is installed on the systems that will be running SAS/SHARE at your site.
Specifying the XMS Access Method |
XMS is the default communications access method on the OS/390 platform. You may omit specifying the access method in a COMAMID statement and the XMS access method is assumed, by default.
If you specify the XMS communications access method at the server before you create a SAS/SHARE server, use the following syntax at the server:
OPTIONS COMAMID=access-method-id;
where COMAMID is an acronym for Communications Access Method Identification. access-method-id identifies the method used by the server to communicate with the client. XMS (an abbreviation for Cross-Memory Services) is an example of an access-method-id.
For a server that is running on a host on which only one communications access method is available, use only the COMAMID option.
Example:
options comamid=xms;
The server will be available only to SAS/SHARE sessions that use the XMS access method.
You may specify the COMAMID option in an OPTIONS statement, at a SAS invocation, or in a SAS configuration file.
However, if the host on which a server is running supports multiple access methods, you may specify up to two auxiliary access methods by which clients may access the server by using the COMAUX1 and COMAUX2 options. See SAS/CONNECT and SAS/SHARE: Supported Access Methods According to Host Release for the supported access methods by host.
All of the access methods initialize when the server initializes. The activation of multiple access methods makes a server available to several groups of clients, each using a different communications access method simultaneously.
COMAUX options can be specified only at a SAS invocation or in a SAS configuration file. The syntax for the COMAUX options follows:
COMAUX1=alternate-method COMAUX2=alternate-method
An example of configuration file entries for a server that is running on an OS/390 host follows:
comamid=xms comaux1=tcp comaux2=appc
When the server starts, all of the communications access methods are initialized. The server is simultaneously available to client sessions that use the XMS access method as well as to clients that use the TCP/IP and APPC access methods.
Specifying a Server Name |
To use the XMS access method, a server and a client must be running on the same OS/390 system.
You must specify the server name in the PROC SERVER statement using the following syntax:
SERVER=server-id
where server-id is a name that you assign to the server. The name may contain up to eight characters.
See SAS Language Reference: Dictionary for details about SAS naming rules. See SAS/SHARE User's Guide for details about the PROC SERVER statement.
Server Example |
The following statements are specified in a SAS session on the OS/390 remote host at which you start a server:
proc server id=share1; run;
The XMS access method is assumed by default, and the server SHARE1 is started on the OS/390 host.
Note: XMS is the default access method on the OS/390 platform.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.