NGEN28/1/LTEACH File

The NGEN28/1/LTEACH file is a flat file, with the characteristics listed in the following table.

For users of:

Generated applications

Contents:

Administration command (colon command) teach information (responses to the :TEA command)

Maximum Languages:

15

Structure:

  • An English-version block

  • Refer to LTEACH format for more information

Changes reloaded:

Automatically, after the application is next initiated and the first :TEA command is entered

LTEACH Format

The NGEN28/1/LTEACH file consists of Administration (colon) command teach information in COBOL format, with COBOL line numbers in the first six columns. It contains the following three types of record:

The format of the first control record is shown in the following table.

First Control Record Properties

Size

Sequence number

6 digits

Primary language

10 characters

Language 2

10 characters

Language 3

10 characters

Language 4

10 characters

Language 5

10 characters

Language 6

10 characters

Filler

6 characters

The format of the second control record is shown in the following table.

Second Control Record Properties

Size

Sequence number

6 digits

Language 7

10 characters

Language 8

10 characters

Language 9

10 characters

Language 10

10 characters

Language 11

10 characters

Language 12

10 characters

Filler

6 characters

The format of the third control record is shown in the following table.

Third Control Record Properties

Size

Sequence number

6 digits

Language 13

10 characters

Language 14

10 characters

Language 15

10 characters

Filler

36 characters

The remaining records of the NGEN28/1/LTEACH file are Header records (which define the Administration commands) and Text records (which contain the actual Teach information).

The header record has the format shown in the following table:

Header Record Properties

Size

Sequence number

6 digits

Filler

1 character

Command name

3 characters

Filler

1 character

Privilege level

1 digit

Language number

2 digits

Filler

58 characters

Text records for each command immediately follow their header record. There might be from one through nineteen text records (so that the text can be displayed on one screen).

The text record has the format shown in the following table:

Text Record Properties

Size

Sequence number

6 digits

Filler

10 characters

Text message

56 characters

Translating the LTEACH File

To translate the contents of the NGEN28/1/LTEACH file, perform the following:

  1. Copy all the Command header records and Text records for an existing language to the end of the file. (Do not copy the Control records.)

  2. Change the initial control records to include the new language.

  3. Change the language number in every Command header record.

  4. Overwrite the existing Text records with your translated version.

     Caution

    There are limits on extending the length of existing text in some cases. Refer to the relevant file characteristics for more information.

When translating your NGEN28/1/LTEACH file, check the following points: