Chapter Contents |
Previous |
Next |
COMAMID |
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); |
Type: Character
'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.
Examples |
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
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.