who am i ... i'm back.
分类:
2008-05-13 19:51:13
1、CICS 如何确定remote Region 的连接请求,并找出已定义的CD:
When CICS receives a connection request from a remote CICS system, it searches the CD entries in your region to determine whether one already exists for that connection.
The CD attributes that it checks are:
Also, the CD entry must not be in use by another connection.
2、CICS automatically creates (autoinstall) a Communications Definitions (CD) entry for an IBM CICS Client when it connects to your region. It also autoinstalls a CD entry if a remote CICS region acquires a CICS family TCP/IP connection to your local region and a suitable CD entry is not already defined in your region.
Irrespective of whether the remote system is an IBM CICS Client or a CICS region, the attributes that are assigned to an autoinstalled CD entry are set from:
The supplied version of DFHCCINX accepts all installation requests. In addition, it does the following:
/var/cics_regions/regionName/data/CCIN.out |
For example:
date time CD entry 'TN03' for CICS server 'TNX43W03' has been |
DFHCCINX is passed a parameter structure in a COMMAREA that contains information about the CD entry that is to be installed or uninstalled. describes this parameter structure.
For an install request, the parameter structure contains the values that CICS
is using for some of the CD attributes. It also contains information about the
remote system and the type of connection that is used to contact the region. shows the values that can be changed by
DFHCCINX. Alternatively, DFHCCINX can veto the installation request by setting
the ReturnCode field to 0x10. DFHCCINX can also use EXEC CICS commands to
perform any additional set up for the remote system. However, it must
not access the principal facility because this is reserved for the
use of CICS only.
例子:如何组织Universal Client连接入REGION。
For security reasons, you might want to prevent some or all CD entries from autoinstalling in your region. For example, you might want to disable autoinstall completely, or for a particular connection type. Alternatively, you might choose to allow autoinstall only for particular remote systems.
CICS does not autoinstall a CD entry if DFHCCINX returns ReturnCode=0x10 in its parameter structure. Therefore, you can use the information that is passed to DFHCCINX to restrict when autoinstall is to proceed. In the example below, DFHCCINX is preventing all autoinstall requests for CICS family TCP/IP connections. This would mean that IBM CICS Clients could not connect to your region by using CICS family TCP/IP because they require an autoinstalled CD entry. A remote CICS region could connect across CICS family TCP/IP only if you had explicitly defined a CD entry for it.
EXEC CICS ADDRESS COMMAREA(Parameters); |