KDCLPAP allows you to perform the following actions:
arrange for connections to be established
shut down connections
disable connections or release disabled connections
define partner applications for which UTM is automatically to establish connections at every application start
define the number of parallel connections to OSI TP partner applications
activate replacement connections to OSI TP partner applications - these replacement connections must have been generated with KDCDEF
change the time for monitoring the idle time modes of sessions and associations
Connections are specified using the name of the LPAP or OSI-LPAP partner to which they are assigned. Replacement connections are identified by the replacement connection name defined in the KDCDEF control statement OSI-CON.
Special issues relating to the establishment and termination of connections
KDCLPAP...,ACT=CON or (CON,number) merely initiates the establishment of a connection. Successful execution of this command does not therefore mean that the connections have in fact been established or that it is possible to establish them (there may be errors in the transport system). You should therefore use KDCINF to check whether a UTM connection can genuinely be established, with the following entry, for example:
KDCINF OSI-LPAP, LIST=(osi-lpapname_1,...osi-lpapname_10)
for OSI-LPAP partners
KDCINF CON, LIST=KDCCON
for LPAP partners
If you wish to establish a connection to a disabled LPAP or OSI-LPAP partner (STATUS=OFF) you must make two KDCLPAP calls:
One KDCLPAP call to re-enable the (OSI-)LPAP partner, e.g.:
KDCLPAP [OSI-]LPAP=lpapname,STATUS=ON
One KDCLPAP call to ensure that the connection is established, e.g.:
KDCLPAP [OSI-]LPAP=lpapname,ACTION=CON
In conjunction with ACTION=CON and STATUS=ON, KDCLPAP will not be processed.
If you wish to reduce the number of parallel connections to an OSI-LPAP partner, call KDCLPAP with ACTION=(CON,number). To do this, you should enter the number of connections you wish to retain in the number field.
Effect in UTM cluster applications
The effect in UTM cluster applications is described in the sections devoted to the individual operands since some of the changes made with KDCLPAP apply locally to the node whereas others take effect globally in the cluster.
Period of validity of the change
The period of validity of these changes depends on the type of change and is therefore specified in the description of these operands.
KDCLPAP
{ LPAP ={ lpapname | (lpapname_1,...,lpapname_10) } |
OSI-LPAP={ osi-lpapname | (osi-lpapname_1,..,osi-lpapname_10) }|
OSI-CON = osi-conname }
[ ,ACTION={ CON| (CON,number) | DIS | ACON | (ACON,number) |
NACON | QUIET } ]
[ ,IDLETIME=time_sec ]
[ ,STATUS={ ON| OFF } ]
LPAP = (lpapname_1,...,lpapname_10) | ||
Connections to the partner applications to which the LPAP partners lpapname_1,...,lpapname_10 are assigned are to be administered. For lpapname_1,...,lpapname_10, enter the logical names of partner applications generated by the KDCDEF control statement LPAP for distributed processing by LU6.1. You can enter a maximum of 10 LPAP names for each KDCLPAP call, i.e. you can administer the connections to a maximum of 10 LPAP partners. If you only enter one LPAP name, you do not need to key in the parentheses. | ||
OSI-LPAP = (osi-lpapname_1,...,osi-lpapname_10) | ||
The connections to the partner applications to which the OSI-LPAP partners osi-lpapname_1,...,osi-lpapname_10 are assigned are to be administered. For osi-lpapname_1,...,osi-lpapname_10 enter the logical names of partner applications generated by the KDCDEF control statement OSI-LPAP for distributed processing via OSI TP. You can enter a maximum of 10 OSI-LPAP names for each KDCLPAP call, i.e. you can administer the connections to a maximum of 10 OSI-LPAP partners. If you only enter one OSI-LPAP name, you do not need to key in the parentheses. | ||
OSI-CON=osi-conname | ||
When you enter the command, no connections are permitted to the OSI-LPAP partner to which the log connection was assigned for generation. The log connection remains active until the end of the application run or until the next time a log connection is selected for the same OSI-LPAP, or until the connection is deactivated. Entering other operands has no effect. Assignment to the OSI-LPAP partner takes place implicitly using osi-conname. | ||
ACTION= | ACTION allows you to arrange for connections which were specified in LPAP or OSI-LPAP to be established and shut down. You can define whether or not UTM should automatically establish connections to specified partner applications when the application starts. | |
CON | openUTM arranges for connections to be established to the specified partner applications. All parallel connections generated in the KDCDEF control statement OSI-LPAP for OSI TP partners specified in OSI-LPAP are to be established. In UTM cluster applications, the operand applies locally in the node. Successful execution of this command does not mean that the required connections have in fact been established. You can use a KDCINF query to find out whether or not a connection has been established successfully. If a connection is to be established for a disabled LPAP or OSI-LPAP partner, the partner must be re-enabled with its own KDCLPAP call before the connection is established. | |
(CON,number) | ||
An entry for number is only useful for connections to OSI-LPAP partners. For an LU6.1 partner specified in LPAP, (CON,number) acts like CON and the entry for number is ignored. In UTM cluster applications, the operand applies locally in the node. For OSI-LPAP partners, number represents the number of parallel connections to the partner application that are to be established to each of the specified OSI TP partners after the KDCLPAP call. This makes the effect of the call dependent on the entry for number. A distinction must be drawn between the following cases:
Minimum value of number: 0 | ||
DIS | Connections to the partners specified in LPAP are shut down immediately. In UTM cluster applications, the operand applies locally in the node. Termination of a connection with DIS has the effect of shutting down all connections immediately. This may cause services to be terminated abnormally. It would be better to use ACTION=QUIET. | |
ACON | (automatic connection) In UTM cluster applications, the operand applies globally in the cluster. | |
(ACON,number) | ||
Entering number is only meaningful for connections to OSI-LPAP partners. In UTM cluster applications, the operand applies globally in the cluster. The maximum number of parallel connections to a partner is defined in the OSI-LPAP statement for KDCDEF generation. For an LU6.1 partner specified in LPAP, (ACON,number) has the same effect as ACON; the entry for number is ignored. Minimum value of number: 0 | ||
NACON | (no automatic connection) In UTM cluster applications, the operand applies globally in the cluster. | |
QUIET | The connections specified in LPAP or OSI-LPAP are shut down. For OSI-LPAP partners, all parallel connections are shut down. In UTM cluster applications, the operand applies locally in the node. With QUIET, connections are not shut down until the sessions or associations generated for the specified LPAP- or OSI-LPAP partners are no longer assigned by dialog or asynchronous jobs. However, no further dialog jobs are accepted for the specified (OSI-)LPAP partners. | |
IDLETIME=time_sec | ||
Time for monitoring the idle state of the sessions or associations generated for the specified LPAP or OSI-LPAP partners. In UTM cluster applications, the operand applies globally in the cluster. A change made to IDLETIME remains effective for a defined session or association if it reaches the idle mode next time this command is entered (during establishment of the connection or after completion of the job). IDLETIME=0 prevents monitoring of the idle state. Maximum value: 32767 | ||
STATUS= | Disables or re-enables LPAP or OSI-LPAP partners. In UTM cluster applications, the operand applies globally in the cluster. | |
OFF | Disables LPAP or OSI-LPAP partners; openUTM does not establish any further connections to this partner application until the LPAP or OSI-LPAP partner is released once again. No logical connections to the related partner application can be established when an LPAP or OSI-LPAP partner is disabled. | |
ON | Approve LPAP or OSI-LPAP partner again. |
Output from KDCLPAP
New and old properties are output at the administrator terminal (NEW, OLD).
The following output is produced when KDCLPAP LPAP=...
is entered:
LPAP STATUS CONNECTION IDLETIME NEW OLD NEW OLD NEW OLD lpapname ON ON CON A Q CON A Q sec sec OFF OFF DIS DIS W W
The following output is produced when KDCLPAP OSI-LPAP=...
is entered:
OSI-LPAP STATUS CONNECTED IDLETIME AUTOCON NEW OLD NEW OLD NEW OLD NEW OLD osi-lpap ON Q ON Q number number sec sec number number OFF OFF
The following output is produced when KDCLPAP OSI-CON=...
is entered:
OSI-LPAP OSI-CON NEW OLD osi-lpap1 osi-con1 osi-con2
Explanation of the output
AUTOCON | Number of connections to the OSI-LPAP partner that UTM should establish automatically when an application starts. |
CONNECTED | Number of parallel connections currently established to the OSI-LPAP partner. |
CONNECTION | 1st column: 2nd column: |
IDLETIME | Monitoring time for the idle state of a session or association on the connection |
OSI-CON | The name generated with the KDCDEF control statement OSI-CON for the logical connection to the partner application. |
STATUS | A connection to the partner application exists or can be established (ON), or cannot be established (OFF). |