Output Options

Output options specify the device that FILEDATA writes a report to. You can specify these output options in each FILEDATA task request. The following syntax diagram shows the output options provided by FILEDATA:

Syntax

<output option>

──/1\─┬─ PRINTER ─────────────────────┬────────────────────────────────┤
      ├─ TTY ─────────────────────────┤
      ├─ SCREEN ──────────────────────┤
      ├─ SPO ─────────────────────────┤
      └─ FILENAME ── = ──<file title>─┘

FILEDATA Output Options provides information about each option.

Table 31. FILEDATA Output Options

Device

Description

PRINTER

Causes output to be written to a line printer file. The default form size, in terms of characters per line and lines per page, is determined by the convention under which FILEDATA runs. To determine your current convention and to view the convention definition, enter GO CONVENTION in the Action field of the MARC home menu. For further information about conventions, refer to the MultiLingual System (MLS) Administration, Operations, and Programming Guide.

SCREEN

Causes output to be displayed on the originating remote terminal or ODT, with a default screen size of 80 characters by 24 lines. You should use SCREEN for ODT devices that have been configured with invisible end-of-text (ETX) characters. Refer to the File Attributes Programming Reference Manual for a description of the SCREEN file attribute.

SPO

Causes output to be displayed on the originating ODT, on a default screen size of 80 characters by 24 lines. You should use SPO for ODT devices that have been configured with visible end-of-text (ETX) characters. Paging is controlled interactively by you.

TTY

Causes output to be displayed on the originating remote terminal, on a default form size of 80 characters by 60 lines. There is no interactive paging control.

FILENAME = <file title>

Causes output to be written to a disk file, by default a data file with a record size of 80 characters. The title of the output file is the supplied file title. Refer to the File Attributes Programming Reference Manual for a description of the FILENAME file attribute.

Notes:
  • The FILENAME = <file title> option is used to write output to a disk file that has a default record size of 80 characters. However, some of the FILEDATA task requests require a record size of 132 characters. If you use the FILENAME option with one of these task requests, you must first use the DEFINEOUTPUT request to specify a LINEWIDTH of 132 characters. Otherwise, an error occurs and your job is terminated.

  • Refer to the descriptions of the FILEDATA task requests for information on output and all default values.