![]() Chapter Contents |
![]() Previous |
![]() Next |
SAS/C Software: Changes and Enhancements, Release 6.50 |
This section describes how to use APPC with the remote debugger for client program communication under CMS. Details on this
procedure are documented in the IBM manual VM/ESA Connectivity Planning, Administration, and Operation (SC24-5648-01).
To use APPC with the remote debugger under CMS, you need to install the APPC/VM VTAM Support (AVS) virtual machine and make sure that it is activated. You must define and activate one of more APPC AVS gateway LUs for outbound connections, which requires VTAM VBUILD major node definition and APPL definitions. To define the AVS virtual machine to VTAM, you also need a logon mode table for communication on the SNA network with other APPC LUs.
The AVS VTAM APPC LU definitions can be similar to the VTAM APPL definition for MVS. You can also use the AVS default sample logon mode table AGWTAB. However, you may need to modify these definitions to meet the needs of the VM installation.
Once you
complete these tasks, you can activate the AVS gateway(s) and set various session limits with AVS commands such as
AGW ACTIVATE GATEWAY
and
AGW CNOS
. You can use the following CMS command to find the currently active gateway LUs for the AVS virtual machine:
QUERY GATEWAY ALL
To connect the VM system running the client program with the system running the remote debugger display, you may need to define other VTAM SNA physical and logical network connections.
For details on VTAM definitions, refer to the IBM manuals VTAM Network Implementation Guide, V3/R3 (SC31-6434-1) and VTAM Resource Definition Reference, V3/R3
(SC31-6412-1).
To use APPC as the communication method when running the client program under CMS and remote debugger display under MVS, the debugger environment variables must be set as follows:
_DB_COMM
=APPC.
_DB_LU
variable:
_DB_LU=remote_debugger_display_LU
If necessary, override the default
SASCDBG
Transaction Program name by setting the
_DB_TP
variable:
_DB_TP=some_tp_name
_DB_LU
variable using this special two-part syntax:
_DB_LU=AVS_gateway_LU remote_debugger_display_LU
Where AVS_gateway_LU is an LU name that defines AVS to VTAM and is separated from the debugger display LU name by a single space. For example, if C09GATEW is the AVS gateway
LU and the remote debugger has registered its Transaction Program at LU C02SESS, you could set
_DB_LU
with the following CMS GLOBALV command:
GLOBALV SELECT CENV SETLP _DB_LU C09GATEW C02SESS
Note: To specify an environment variable on the command line that includes a space, enclose the value in parentheses, for example,
=DB_LU=(C09GATEW C02SESS)
.
_DB_MODE
variable to specify the AVS logon mode table:
_DB_MODE=AGWTAB (or other VTAM logon mode name) GLOBALV SELECT CENV SETLP _DB_MODE AGWTAB
If you specified a different TP name for the debugger display, override the default
SASCDBG
Transaction Program name by setting the
_DB_TP
variable:
_DB_TP=some_tp_name GLOBALV SELECT CENV SETLP _DB_TP some_tp_name
Note: If the client program is halted (using CMS HX) or terminates abnormally, the virtual machine may return to the CMS Ready; prompt. To release the APPC
connection to the remote debugger display, you may need to issue another command, such as QUERY TIME. After entering the command, the remote debugger display will get an APPC error, release the APPC
session, and terminate.
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © Mon Mar 9 09:11:22 EST 1998 by SAS Institute Inc., Cary, NC, USA. All rights reserved.