CL Programming
To define a message with double-byte text, write a CL procedure or program
using the ADDMSGD command. The defined message is put into a message
file and then sent normally. When writing the program, do the
following:
- Make sure the source file containing the program is a double-byte
file. Specify IGCDTA(*YES) on the Create Source Physical File
(CRTSRCPF) command.
- Use the source entry utility (SEU) to enter the program. CL
commands using double-byte characters can only be entered through SEU.
For this reason, double-byte messages must be created in a CL program.
- Limit the length of the message to 37 double-byte characters, so the
complete message can be displayed or printed.
When using the MONMSG command, also limit the Comparison Data (CMPDATA)
parameter to 6 double-byte characters.
- If the double-byte message file replaces an alphanumeric message file
(such as files of translated messages to be sent only to double-byte display
stations), enter a command similar to the following to override the
alphanumeric message file:
OVRMSGF MSGF(QCPFMSG) TOMSGF(DBCSLIB/QCPFMSG)
Double-byte messages can be displayed only at double-byte display
stations.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.