Chapter Contents

Previous

Next
COMAMID=

COMAMID=



Identifies communications access method.

Local and remote


Syntax
Syntax Description
Table Notes
Specifying the COMAMID= System Option on the Local Host
Specifying the COMAMID= System Option on the Remote Host

Syntax

COMAMID=access-method-id

Syntax Description

access-method-id
specifies the name of the communications access method that is used by SAS/CONNECT when connecting to remote hosts.

Details

The COMAMID= system option specifies a communications access method that is used by SAS/CONNECT when connecting to remote hosts. To establish the link between two hosts that are running the SAS System, use the COMAMID= option on both hosts. Specify the COMAMID= option in an OPTIONS statement before you sign on to the link. On the remote host, include the COMAMID= option in the script TYPE statement that invokes the remote SAS session or in a remote SAS session configuration.

On the local host, you must specify both a COMAMID= option and a REMOTE= option. Use the following table to select the appropriate values for the COMAMID= and REMOTE= options for both hosts.

Note:   You may need to customize some scripts for your site. The table notes (explained at the end of the Table) indicate modifications that are necessary, but your site may require more.  [cautionend]

REMOTE= and COMAMID= System Options Local and Remote Hosts
If your local host is ... and your remote host is ... use this COMAMID= value on the local host ...1
use this REMOTE= value on the local host ...1
and use this supplied script.2
OS/390 OS/390 APPC luname none, in most cases3


TCP internet-address4 tcptso.scr or tcptso32.scr

CMS APPC AVS-gateway none


TCP internet-address4 tcpcms.scr

OpenVMS Alpha TCP internet-address4 tcpvms.scr

OpenVMS VAX TCP internet-address4 tcpvms.scr

UNIX TCP internet-address4 tcpunix.scr

OS/2 APPC control-point-lu
none


TCP internet-address4 tcpos2.scr

Windows NT APPC luname none


TCP internet-address4 tcpwin.scr

Windows 95 APPC luname none


TCP internet-address4 tcpwin.scr
CMS OS/390 APPC luname none, in most cases3


TCP internet-address4 tcptso.scr or tcptso32.scr

CMS APPC AVS-gateway none


TCP internet-address4 tcpcms.scr or tcpcms32.scr

OpenVMS Alpha TCP internet-address4 tcpvms.scr

OpenVMS VAX TCP internet-address4 tcpvms.scr

UNIX TCP internet-address4 tcpunix.scr

OS/2 APPC control-point-lu
none


TCP internet-address4 tcpos2.scr

Windows NT APPC luname none


TCP internet-address4 tcpwin.scr

Windows 95 APPC luname none


TCP internet-address4 tcpwin.scr
OpenVMS Alpha

OpenVMS VAX

OS/390 TCP internet-address4 tcptso.scr or tcptso32.scr


TELNET internet-address4 teltso.scr

CMS TCP internet-address4 tcpcms.scr or tcpcms32.scr


TELNET internet-address4 telcms.scr

OpenVMS Alpha TCP internet-address4 tcpvms.scr


TELNET internet-address4 telvms.scr


DECNET host-id none

OpenVMS VAX TCP internet-address4 tcpvms.scr


TELNET internet-address4 telvms.scr


DECNET host-id none

UNIX TCP internet-address4 tcpunix.scr

OS/2 TCP internet-address4 tcpos2.scr

Windows NT TCP internet-address4 tcpwin.scr


DECNET host-id none

Windows 95 TCP internet-address4 tcpwin.scr


DECNET host-id none
UNIX OS/390 APPC luname none


TCP internet-address4 tcptso.scr or tcptso32.scr


TELNET internet-address4 teltso.scr

CMS APPC AVS-gateway none


TCP internet-address4 tcpcms.scr or tcpcms32.scr


TELNET internet-address4 telcms.scr

OpenVMS Alpha TCP internet-address4 tcpvms.scr


TELNET internet-address4 telvms.scr

OpenVMS VAX TCP internet-address4 tcpvms.scr


TELNET internet-address4 telvms.scr

UNIX TCP internet-address4 tcpunix.scr

OS/2 APPC control-point-lu none


TCP internet-address4 tcpos2.scr

Windows NT APPC luname none


TCP internet-address4 tcpwin.scr

Windows 95 APPC luname none


TCP internet-address4 tcpwin.scr
OS/2 (except with

Release 6.06)

OS/390 APPC luname3
none, in most cases3


EHLLAPI remote-session tso.scr or logtso.scr


TCP internet-address4 tcptso.scr or tcptso32.scr


TELNET internet-address4 teltso.scr

CMS APPC AVS-gateway none


EHLLAPI remote-session cms.scr or logcms.scr


TCP internet-address4 tcpcms.scr or tcpcms32.scr


TELNET internet-address4 telcms.scr

OpenVMS Alpha TCP internet-address4 tcpvms.scr


TELNET internet-address4 telvms.scr

OpenVMS VAX TCP internet-address4 tcpvms.scr


TELNET internet-address4 telvms.scr

UNIX TCP internet-address4 tcpunix.scr

OS/2 APPC control-point-lu(for the remote PC) none


TCP internet-address4 tcpos2.scr


NETBIOS network-name none

Windows NT APPC luname none


TCP internet-address4 tcpwin.scr


NETBIOS network-name none

Windows 95 APPC luname none


TCP internet-address4 tcpwin.scr


NETBIOS network-name none
Windows 95 OS/390 EHLLAPI remote-session tso.scr or logtso.scr


TCP internet-address4 tcptso.scr or tcptso32.scr


TELNET internet-address4 teltso.scr


APPC luname
none

CMS EHLLAPI remote-session cms.scr or logcms.scr


TCP internet-address4 tcpcms.scr or tcpcms32.scr


TELNET internet-address4 telcms.scr


APPC AVS gateway none

OpenVMS Alpha TCP internet-address4 tcpvms.scr


TELNET internet-address4 telvms.scr


DECNET host-id none

OpenVMS VAX TCP internet-address4 tcpvms.scr


TELNET internet-address4 telvms.scr


DECNET host-id none

UNIX TCP internet-address4 tcpunix.scr

OS/2 TCP internet-address4 tcpos2.scr


NETBIOS network-name none


APPC control point LU(for the remote PC) none

Windows NT APPC luname none


TCP internet-address4 tcpwin.scr


DECNET host-id none


NETBIOS network-name none

Windows 95 APPC luname none


TCP internet-address4 tcpwin.scr


DECNET host-id none


NETBIOS network-name none
Windows NT OS/390 APPC luname none


TCP internet-address4 tcptso.scr or tcptso32.scr


EHLLAPI remote-session tso.scr or

logtso.scr



TELNET internet-address4 teltso.scr

CMS APPC luname none


TCP internet-address4 tcpcms.scr or tcpcms32.scr


EHLLAPI remote-session cms.scr or

logcms.scr



TELNET internet-address4 telcms.scr

OpenVMS Alpha TCP internet-address4 tcpvms.scr


TELNET internet-address4 telvms.scr


DECNET host-id none

OpenVMS VAX TCP internet-address4 tcpvms.scr


TELNET internet-address4 telvms.scr


DECNET host-id none

UNIX TCP internet-address4 tcpunix.scr

OS/2 APPC luname none


TCP internet-address4 tcpos2.scr


NETBIOS network-name none

Windows NT APPC luname none


TCP internet-address4 tcpwnt.scr


DECNET host-id none


NETBIOS network-name none

Windows 95 APPC luname none


TCP internet-address4 tcpwin.scr


DECNET host-id none


NETBIOS network-name none


Table Notes

  1. Submit these options in the OPTIONS statement on the local host.

  2. Use a FILENAME statement to associate this script with the fileref RLINK or another fileref that you will use in the SIGNON and SIGNOFF commands.

  3. Use a script with APPC only when you are running a version of OS/390/ESA that is earlier than Version 4, Release 2 on OS/390 as the remote host. In this case, use the APPCTSO.SCR script with OS/2 only. In addition, if you are using a script, the value of the REMOTE= option on the local host is the session id, not the luname-of-APPC/OS/390.

  4. The value of the REMOTE= option must be a valid SAS name. If you have an Internet address that exceeds eight characters or does not conform to SAS naming conventions in any other way, assign the address to a macro variable and specify that macro variable for the REMOTE= value, as illustrated here:
    %let mynode=internet-address;
    options remote=mynode;
    Do not choose a macro variable that is also a valid host name on your network. The SAS System first attempts to reach a network host by using the value of the REMOTE= option (in this example, mynode).


Specifying the COMAMID= System Option on the Local Host

Usually, you set up the SAS autoexec file on the local host so that the COMAMID= option executes automatically. To accomplish this, include an OPTIONS statement in the autoexec file that sets the value of the COMAMID= option for the local host each time the local SAS System is invoked.

If you do not include an OPTIONS statement that specifies the COMAMID= option in your SAS autoexec file, you can use one of these methods to specify the system option on the local host:


Specifying the COMAMID= System Option on the Remote Host

For the remote host, you can specify the COMAMID= system option in the TYPE statement that contains the SAS command in the script that you use to sign on. Alternatively, you can specify the COMAMID= option in the configuration file that is processed when you invoke the SAS System on the remote host. If you fail to specify the COMAMID= option in one of these places, an error message is issued and the link terminates.


Chapter Contents

Previous

Next

Top of Page

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