Output File Equation Specifications

You can direct output from the GUARDFILE utility to a printer (file LINE), a terminal (file TERM), and a guard file (file GUARD). The printer and terminal receive textual output. The guard file contains the translated source file output. By default, LINE has the attribute KIND=PRINTER and TERM has the attribute KIND=REMOTE. If STATION is zero, LINE is used and TERM is not. If STATION is nonzero, TERM is used and LINE is used only if file equation is applied to LINE. You can direct the list of errors to the file ERRORS by file-equating that file.

The guard file to be generated or examined defaults to KIND=PACK and FAMILYNAME=DISK. In the absence of file equation for the guard file, the default title GUARD is used (if GUARD already exists, it is overwritten). To avoid inadvertently assigning incorrect access rights, be sure to include a file title when you file-equate the guard file.

Output File Equation Specifications summarizes the output file equation specifications.

Table 35. Output File Equation Specifications

Output File Equation Specification

Default File Attributes

LINE

KIND = PRINTER

TERM

KIND = REMOTE

GUARD

KIND = PACK

FAMILYNAME = DISK

TITLE = GUARD

ERRORS

KIND = PRINTER

PROTECTION = SAVE


  • Incidental Headings

    Incidental headings are written to both LINE and TERM.

  • SOURCE Input

    SOURCE input is transcribed to LINE unconditionally; it is transcribed to TERM only when SOURCE is not REMOTE and there is an error reported in connection with that source record. If SOURCE is a disk file of type SEQ, TEXT, or JOB, the sequence number field is displayed with each line; for a DATA or nondisk file, the ordinal record number is shown.

  • Error Messages

    Error messages are written to both LINE and TERM.

  • Guard File

    After a successful generation or examination, the guard file is written to both files. If STATION is nonzero, the output is formatted for the terminal according to the TERM(1).WIDTH station attribute. (The WIDTH attribute is set by default from the datacomm network definition; it can be modified with the CANDE TERMINAL command.) If STATION is zero, the output is formatted for the printer according to LINE.MAXRECSIZE, which defaults to 22 words (132 characters).