DDS for display files

IGCALTTYP (Alternative Data Type) keyword

Specify this field-level keyword to change input- and output-capable alphanumeric character fields to DBCS fields with data type O.

This keyword has no parameters.

Put the keyword into effect by specifying IGCDTA(*YES) on the CRTDSPF, CHGDSPF, and OVRDSPF commands. Fields specified with this keyword are DBCS fields when you specify IGCDTA(*YES) and are alphanumeric character fields when you specify IGCDTA(*NO). For example, you could create the file by specifying IGCDTA(*NO) on the CRTDSPF command. When using the file to display DBCS data, override the file with the OVRDSPF command, specifying IGCDTA(*YES). To override the display file IGCDSPF, type:

OVRDSPF FILE(IGCLIB/IGCDSPF) IGCDTA(*YES)

Consider the following, when using the IGCALTTYP keyword:

Option indicators are not allowed with IGCALTTYP.

Example:

The following example shows how to specify the IGCALTTYP keyword on the DDS coding form.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A          R RECORD
00020A            FLDA          79A  I 23  2IGCALTTYP
     A

When the IGCALTTYP keyword is put into effect, FLDA can contain DBCS data.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]