Clear LU6.2 Partners (QTNCLRLU) API


  Required Parameter Group:


  Optional Parameter:


  Default Public Authority: *USE

  Threadsafe: No

The Clear LU6.2 Partners (QTNCLRLU) API clears the specified partner logical unit (LU) from the LU6.2 log on this system. In terms of the LU6.2 Peer Protocols, this is known as forcing a cold start with the partner LU during the next connection attempt. This API can be used to eliminate connection problems after the partner LU is moved to a backup system with the same SNA configuration as the original system.

The following informational message is sent to the joblog of the job issuing the API to identify each partner that is cleared:

Clearing a partner LU will be rejected if there is an active protected conversation between this system and the partner, or if resynchronization to the partner is pending due to a prior communications or system failure. In such cases, the following diagnostic messages will be sent to the joblog to identify any partners that were not cleared, and the API will return error message CPF83EF.

Authorities and Locks

Authority
*ALLOBJ special authority is required.

Locks
None.

Required Parameters

Partner LU remote network identifier
INPUT; CHAR(8)

The remote network identifier of the partner that is to be cleared.

Partner LU location name
INPUT; CHAR(8)

The location name of the partner that is to be cleared.


Optional Parameter

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter. If this parameter is omitted, diagnostic and escape messages are issued to the caller of the API.


Usage Notes

This API was designed so that it would be easy to use from a CL command line. For example, the following CL command will clear partner APPC.SYSTEM1 from the LU6.2 log:

CALL PGM(QTNCLRLU) PARM(APPC SYSTEM1)

Error Messages



API introduced: V5R3

[ Back to top | Journal and Commit APIs | APIs by category ]