Previous Topic: Secondary ModeNext Topic: Coding a Heading


Write-Only Mode

The Write-Only mode allows creation of a single sequential output file rather than report generation. Enter this mode only by specifying the OPTION WRITE ONLY command in the Reporting Facility program.

You can perform two main processes in this mode.

Compilation/Code Generation

The Reporting Facility compiler analyzes the input source commands and generates the machine code needed to perform the specified function. The system stores the machine code, with the GSA, on the DRWORK file for later recall and execution.

Record Selection/Data Manipulation/Output File Creation

The system recalls and executes all of the code on the DRWORK file. As each input record set processes, the system analyzes the appropriate selection criteria, reformats the data, and creates a single output record in a format you defined.

Data sorting is not available in this mode. When input data reaches END-OF-FILE, the output file closes and the run immediately terminates.

These data sets are required when executing in Write-Only mode: