Chapter Contents

Previous

Next
Communications Access Methods for SAS/CONNECT and SAS/SHARE Software

OS/390: APPC Access Method


SAS/CONNECT

Local Host

The following example illustrates the statements that you specify in an OS/390 local host SAS session to connect to a remote host with the APPC access method:

options comamid=appc remote=remotelu;
signon user=_prompt_;

The APPC communications access method is declared with a connection to a remote host LU that is identified as REMOTELU. The USER= option in the SIGNON statement specifies that a local host be prompted for a userid and a password that are valid on the remote host. The SIGNON statement performs the sign-on process.

Remote Host

The following example illustrates the statements that you specify in an OS/390 remote host configuration file to prepare for a connection from a supported local host with the APPC access method:

dmr
comamid=appc
remote=remotelu
luprefix=sascon
lufirst=1
lulast=10
lu62mode=appcmode
lupool=all
no$syntaxcheck
noterminal

The APPC communications access method is declared with a connection to REMOTELU, which is the LU name of the APPC/MVS scheduler. LUPREFIX SASCON is specified with the LUFIRST and LULAST options to form ACBNAME LU names ranging from SASCON01 to SASCON10. The LU62MODE name is APPCMODE, and an LUPOOL value of ALL specifies pool use for both local and remote OS/390 SAS sessions.

Note:   The value for the REMOTE= option that is specified in the local and the remote sessions must be identical.  [cautionend]


SAS/SHARE

Client

The following example illustrates the statements that you specify in an OS/390 client configuration file to access a server with the APPC access method:

luprefix=sascon
lufirst=1
lulast=10
lu62mode=appcmode

LUPREFIX SASCON is specified with the LUFIRST and LULAST options to form ACBNAME LU names ranging from SASCON01 to SASCON10. The LU62MODE name is APPCMODE.

options comamid=appc;
libname sasdata 'edc.prog2.sasdata' server=share1 user=_prompt_;

The APPC access method is declared. The LIBNAME statement specifies the data library that is accessed through the server SHARE1. The USER= option in the LIBNAME statement specifies that a client be prompted for a username and a password that are valid on the server.

Server

The following example illustrates the statements that you specify in a configuration file on the OS/390 host at which you start a server:

appcsec=_secure_
comamid=appc
luprefix=sascon
lufirst=1
lulast=10
lu62mode=appcmode

The _SECURE_ value for the APPCSEC option requires clients to supply a userid and a password that are valid on the server. LUPREFIX SASCON is specified with the LUFIRST and LULAST options to form ACBNAME LU names ranging from SASCON01 to SASCON10. The LU62MODE name is APPCMODE.

The following statements in a SAS session on the OS/390 remote host start a server:

proc server id=share1;
run;

The server SHARE1 is started on the OS/390 remote host.


Chapter Contents

Previous

Next

Top of Page

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