OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P

[Contents][Index][Back][Next]

6.2.3 CBLDCCLS('CLTOUT ') - Release of client user authentication

Organization of this subsection
(1) Form
(2) Purpose
(3) Data area where the UAP sets values
(4) Data area where OpenTP1 returns values
(5) Status codes

(1) Form

(a) In a multi-thread environment
PROCEDURE DIVISION
 
CALL 'CBLDCCLS' USING identifier-1
 
DATA DIVISION
 
01 identifier-1.
   02 data-name-A PIC X(8)  VALUE 'CLTOUT '.
   02 data-name-B PIC X(5).
   02 FILLER     PIC X(3).
   02 data-name-C PIC S9(9) COMP VALUE ZERO.
   02 data-name-D PIC 9(9) COMP.
 
(b) In a single-thread environment
PROCEDURE DIVISION
 
CALL 'CBLDCCLT' USING identifier-1
 
DATA DIVISION
 
01 identifier-1.
   02 data-name-A PIC X(8)  VALUE 'CLTOUT '.
   02 data-name-B PIC X(5).
   02 FILLER     PIC X(3).
   02 data-name-C PIC S9(9) COMP VALUE ZERO.
 

(2) Purpose

Releases the client user authentication and rejects OpenTP1 services afterwards.

Be sure to execute CBLDCCLS('CLTOUT ') before termination of a CUP. When executed, CBLDCCLS('CLTOUT ') must be paired with CBLDCCLS('CLTIN ').

(3) Data area where the UAP sets values

(4) Data area where OpenTP1 returns values

(5) Status codes

Status code Meaning
00000 Normal termination
02501 The request code (data-name-A) may be invalid.