Sign in

docs DDS Display

IGCALTTYP (Alternative Data Type) keyword

IGCALTTYP (Alternative Data Type) keyword

You specify this field-level keyword to change alphanumeric character fields that are capable of input and output 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 can 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 rules, when using the IGCALTTYP keyword:

  • Specify this keyword only for input- and output-capable fields whose keyboard shift type is A, N, X, W, or I. Do not specify this keyword for DBCS fields.

    Note: Fields specified with IGCDTA(*YES) are recognized as alphanumeric OPEN data type fields (O) when keyboard shift type is defined as N, X, W, or I.

  • The following keywords are not allowed with the IGCALTTYP keyword:

    AUTO(RAZ)
    BLKFOLD
    CHECK(M10 M11 M10F M11F RL RZ VN VNE)
    CMP(EQ GE GT LE LT NE NG NL)
    COMP(EQ GE GT LE LT NE NG NL)
    DUP
    RANGE
    VALUES

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.