Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Invalid double-byte code and undefined double-byte code<br />
202 <strong>File</strong> <strong>Management</strong> V4R5<br />
Invalid double-byte code has a double-byte code value that is not in the valid<br />
double-byte code range. Figure 18 on page 199 shows valid double-byte code<br />
ranges. This is in contrast to undefined double-byte code where the double-byte<br />
code is valid, but no graphic symbol has been defined for the code.<br />
Using double-byte data<br />
This section tells you where you can use double-byte data and discusses the<br />
limitations to its use.<br />
Where you can use double-byte data<br />
You can use double-byte data in the following ways:<br />
v As data in files:<br />
– Data in database files.<br />
– Data entered in input-capable and data displayed in output-capable fields of<br />
display files.<br />
– Data printed in output-capable fields in printer files.<br />
– Data used as literals in display files and printer files.<br />
v As the text of messages.<br />
v As the text of object descriptions.<br />
v As literals and constants, and as data to be processed by high-level language<br />
programs.<br />
Double-byte data can be displayed only at DBCS display stations and printed only<br />
on DBCS printers. Double-byte data can be written onto diskette, tape, disk, and<br />
optical storage.<br />
Where you cannot use double-byte data<br />
You cannot use double-byte data in the following ways:<br />
v As AS/400 object names.<br />
v As command names or variable names in control language (CL) and other<br />
high-level languages.<br />
v As displayed or printed output on alphanumeric work stations.<br />
Double-byte character size<br />
When displayed or printed, double-byte characters usually are twice as wide as<br />
single-byte characters.<br />
Consider the width of double-byte characters when you calculate the length of a<br />
double-byte data field because field lengths are usually identified as the number of<br />
single-byte character positions used. For more information on calculating the<br />
length of fields containing double-byte data, refer to the DDS Reference.