IGCALTTYP (Alternative Data Type) keyword

Use this field-level keyword to change alphanumeric character fields to the DBCS fields of data type O.

This keyword has no parameters.

Put the keyword function into effect by changing the IGCDTA parameter value in the file description, using the CRTPRTF, CHGPRTF, or OVRPRTF command. Fields specified with this keyword are alphanumeric character fields when you specify IGCDTA(*NO) and are DBCS fields of data type O when you specify IGCDTA(*YES). For example, create the file by specifying IGCDTA(*NO) on the CRTPRTF command. When using the file to print DBCS data, override the file with the OVRPRTF command, specifying IGCDTA(*YES). To override the printer file IGCPRTF, type:

OVRPRTF FILE(IGCLIB/IGCPRTF) IGCDTA(*YES)

Consider the following conditions when using the IGCALTTYP keyword:

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*
00020A*
00030A          R TITLER                    SKIPB(3)
00040A            FLD1          40        47SPACEA(2) UNDERLINE
00050A  30        FLD2          40A       47SPACEA(2) UNDERLINE IGCALTTYP
     A

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