Printing DBCS data
When printing in character or hexadecimal format, you can also print double-byte character set (DBCS) data, if you have the necessary hardware. Use Set DBCS Format (option 3.0) to specify which data in each record is in DBCS format, mixed format, or EBCDIC format within an input record; and use Compiler Language Selection (option 0.5) to specify a DBCS-capable language.
If you want to align DBCS and EBCDIC data in printed output, use a font that sets the width of each DBCS character to 2 EBCDIC bytes.
If printing in TABL or SNGL format, the format definition is taken from the template, and any DBCS formatting set by this option is ignored.
When you select the Set DBCS Format option, the Set DBCS Format panel shown in Figure 1 is displayed.
- Start column
- The first column in the record where the data is located.
- End column
- The last column in the record where the data is located. An asterisk (*) indicates end of record.
- Type
- The
type of data:
- EB
- EBCDIC
- DB
- DBCS
These are graphics fields, that is, data that is DBCS, but stored without the shift-out and shift-in characters.
- MI
- Mixed format
For all areas you do not define, File Manager creates an EBCDIC field definition.
- To cause the type DB to correctly format DBCS characters for printing, the language used for File Manager must be a DBCS-capable language.
- To print a listing of the current format definitions, enter the LIST primary command.
- To restore your definitions to the default
value of
1,*,EB
, enter the RESET primary command.