CL Programming
If an alphanumeric application program uses externally-described display
files, you can change that application program to a double-byte application
program by changing only the files. To convert an application program,
do the following:
- Create a duplicate copy of the source statements for the alphanumeric file
you want to change.
- Change alphanumeric constants and literals to double-byte constants and
literals.
- Change fields in the file to one of the following data types to enter DBCS
data:
- DBCS-open (O) data type
- DBCS-only (J) data type
- DBCS-either (E) data
You do not have to change the length of the fields.
- Store the converted display file in a separate library. Give the
file the same name as its alphanumeric version.
- To use the converted file in a job, change the library list, using the
Change Library List (CHGLIBL) command, for the job in which the file is
used. The library in which the double-byte display file is stored is
then checked before the library in which the alphanumeric version of the file
is stored.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.