CDBC 事务用于连接和断开连接
在 3270 类型终端上输入 CDBC 将显示一个菜单,用于将 CICS® 连接到 DBCTL 并将其与之断开连接。
图 1 显示了菜单的示例。
要连接到 DBCTL ,请在以下后面输入选项号 1:
Option Selection ==> CDBC CICS-DBCTL CONNECTION/DISCONNECTION 93.259
13:39:20
Select one of the following:
1 Connection
2 ORDERLY disconnection
3 IMMEDIATE disconnection
Option Selection ==> 2
Startup Table Suffix ==> 00
DBCTL ID Override ==>
DFHDB8209D DBCTL orderly disconnection requested. Press PF5 to confirm.
Status of the Interface: DFHDB8293I DBCTL connected and ready.
CICS APPLID: APPLID
DBCTL ID: SYS2
Startup Table Suffix: 00
PF1 = Help 2 = Refresh 3 = End
如果要指定 DRA 启动表后缀,可以在之后输入:
Startup Table Suffix ==>如果未指定后缀,那么 CICS 将使用上次连接到 DBCTL 时使用的后缀。 如果这是您首次将 CICS 连接到 DBCTL ,并且未指定后缀,那么 CICS 将使用缺省后缀 00。如果要指定 DBCTL 标识,可以在以下时间之后输入该标识:
DBCTL ID Override ==>如果未指定 DBCTL 标识,那么 DRA 将使用 DRA 启动表中 DBCTLID 参数上指定的 DBCTL 标识。按下 ENTER 后,您应该会收到以下消息:
DFHDB8209 I DBCTL orderly disconnection requested. Press PF5 to confirm.如 图 1中的示例屏幕所示。CDBC 菜单屏幕显示以下附加信息:
- CICS-DBCTL 接口的状态; 在此情况下, DBCTL 已连接并就绪
- CICS 系统的 APPLID; 在此情况下,为 DBDCCICS
- DBCTL 系统的标识; 在此情况下,为 SYS2
- 此连接的 DRA 启动参数表后缀; 在本例中为 00。
仅当 CICS 已连接到 DBCTL 时,才会显示 DBCTL 标识和 DRA 启动参数表后缀。 您可以通过按 PF2来刷新 CDBC 菜单屏幕上的任何信息。
您可以通过按 PF1来获取 CDBC 菜单的帮助屏幕。 如 图 2中所示, CDBC 帮助屏幕会提醒您要指定哪个选项的编号,选项的含义,并汇总 CDBC 菜单屏幕上显示的 CICS-DBCTL 接口信息。
HELP : CICS-DBCTL CONNECTION/DISCONNECTION
To CONNECT to DBCTL, select option 1. You can also specify a startup
table suffix, or accept the existing suffix. The id of the DBCTL system is
obtained from the startup table, but can be optionally overridden.
To DISCONNECT from DBCTL, select option 2 or option 3.
Select option 2 for ORDERLY disconnection: this allows all CICS-DBCTL
transactions from this CICS to complete before disconnecting from DBCTL.
Select option 3 for IMMEDIATE disconnection: this allows all CICS-DBCTL
requests from this CICS to complete before disconnecting from DBCTL.
------------------------------------------------------------------------------
Displayed information (press PF2 to refresh the information):
STATUS OF THE INTERFACE The current status of the connection to DBCTL.
CICS APPLID The application identifier for this CICS system.
Displayed when available:
DBCTL ID Identifier of the DBCTL system with which this
CICS system is communicating.
STARTUP TABLE SUFFIX Suffix used when CICS was connected to DBCTL.
PRESS ENTER TO RETURN TO SELECTION SCREEN