Chapter Contents

Previous

Next
COMAMID

COMAMID



Returns the list of communications access methods for an operating system

Category: SAS System Option


Syntax
Details
Examples
Example 1: Finding the Comamids for an Operating System
Example 2: Finding Comamids for SAS/SHARE Software

Syntax

comamids=COMAMID(options);

comamids
are the communications access methods (comamids) for the operating system or for SAS/SHARE software or SAS/CONNECT software, if they are requested. Multiple values are separated by blanks.

Type: Character

options
requests comamid values that are supported by SAS/SHARE software or SAS/CONNECT software for your operating system:
'S' requests comamid values that are supported by SAS/SHARE software.
'C' requests comamid values that are supported by SAS/CONNECT software.


Details

COMAMID provides a list of communication access method values for a user's operating system. If no value is provided for options, then all comamid values for the operating system are returned.

You can display the list to application users by using other SCL features. For example, you can display the values in a list box by specifying that the source of list box values is the variable that you used as the return value for COMAMID.

Note:   COMAMID verifies communication access method values so that if the module to support a value has not been installed, that value is not returned in the string of comamid values.  [cautionend]


Examples

Example 1: Finding the Comamids for an Operating System

Find out which comamids are valid for the operating system:

INIT:
   comamids=COMAMID();
   put comamids=;
return;
This example produces the following output on an HP-UX system:
COMAMIDS= TCP

Example 2: Finding Comamids for SAS/SHARE Software

Find out which comamids are supported by SAS/SHARE software:

INIT:
   comamids=COMAMID('S');
   put 'Comamids for SAS/SHARE are 'comamids=;
return;
This example produces the following output on an HP-UX system:
Comamids for SAS/SHARE are COMAMIDS=TCP


Chapter Contents

Previous

Next

Top of Page

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