About the CODES File

Output Control sequences for standard printers qualified for Agile Business Suite are included in the sample CODES file supplied on your release media. The CODES file can be maintained using a standard system editor (such as CANDE).

 Caution

Take care not to change any of these details unintentionally.

The changes that you make to your CODES file must follow the format described in this section and demonstrated in the sample CODES file. Any deviation from the prescribed format may result in an unexpected behavior.

Troubleshooting

If you receive the following message for any of the terminal models qualified for Agile Business Suite, the configuration process has not been successful.

YOU CAN’T INQUIRE - MODEL UNDECLARED

Check that the CODES file for your application (NGEN28SYS/CODES) is present, and manually load the file. Then enter the name of your Output Control file. The default name is provided, but might be changed.

If the file is not present, contact your Unisys Support representative.

Format of the CODES File

The following tables give the format of the three types of records in the CODES file.

Record Type 1 associates a number with a code name.

Position

Description

1–20

Blank

21–23

Number of Special Attribute (numeric)

24–43

Blank

44–53

Name of Special Attribute (alphanumeric)

54–80

Blank

Record Type 2 identifies device types.

Position

Description

1–10

Device name (alphanumeric)

11–20

Blank

21–23

Zeros

24–35

P (printer) or V (video)

36–39

Zeros

40–63

Blank

64–67

Maximum input size

68–71

Maximum output size

72–80

Blank

Record Type 3 defines control codes.

Position

Description

1–10

Device name (alphanumeric)

11–23

Number (numeric)

24–43

Hexadecimal code (or forms formula)

44–53

Name (alphanumeric)

54–80

Blank