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

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

6.9.1 CBLDCUTL('CNVOPN ') - Starting character code conversion

Organization of this subsection
(1) Form
(2) Purpose
(3) Data area where the UAP sets values
(4) Data area for which a value is returned
(5) Status codes
(6) Notes

(1) Form

PROCEDURE DIVISION
 
CALL 'CBLDCUTL' USING unique-name-1 unique-name-1 unique-name-1
 
DATA DIVISION
 
01 unique-name-1.
   02 data-name-A PIC X(8)  VALUE 'CNVOPN  '.
   02 data-name-B PIC X(5).
   02 FILLER     PIC X(3).
   02 data-name-C PIC X(256) 
   02 data-name-D PIC S9(9) COMP.
   02 data-name-E PIC 9(9) COMP.
 

(2) Purpose

Starts character code conversion to allocate a code mapping table to be used in the memory.

(3) Data area where the UAP sets values

(4) Data area for which a value is returned

(5) Status codes

Status code Meaning
00000 Normal termination
02501 Invalid value for the data name. The request code (data-name-A) may be invalid.
02504 Insufficient memory
02557 No code mapping table exists.
02558 This status does not support using the code mapping table. This status code is also returned if a code mapping table is not saved using the CommuniNet code mapping utility after the installation of CommuniNet.
02559 An I/O error occurred in the code mapping table.

(6) Notes

Specify three unique names 1 for the USING clause in the CALL statement.