OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P
CALL 'CBLDCUTL' USING identifier-1 identifier-2 identifier-3
01 identifier-1. 02 data-name-A PIC X(8) VALUE 'CODECNV '. 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 S9(9) COMP. 01 identifier-2. 02 data-name-E PIC S9(9) COMP. 02 data-name-F PIC X(n). 01 identifier-3. 02 data-name-G PIC S9(9) COMP. 02 data-name-H PIC X(n).
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. The program returns this code also when the specified character length covers the first byte of a two-byte code that is contained in the character string to be converted. |
02550 | An invalid code is found in the character string. |
02551 | The length of the converted character string exceeds the area prepared by the CUP. |
All Rights Reserved. Copyright (C) 2006, 2009, Hitachi, Ltd.