Saving Your Report Output

In this section:

The following commands extract and save report output in a variety of file formats:

Tip: When saving or holding output files, it is recommended to have an Allocation in place for the file. This is not applicable for PCHOLD files.


Top of page

x
Naming and Storing Report Output Files

During a session, a report output file remains usable until it is erased or overwritten. A subsequent output file created during the same session replaces the initial version, unless you give it another name by using the AS phrase.

An ALLOCATE command is automatically issued when you create an output file. The ddname used to identify the file is the same as the name of the report output file (HOLD, SAVE, or SAVB, or the name in the AS phrase), if not already allocated.

By default, report output files created with HOLD, SAVE, or SAVB are written to temporary space. When the session ends, these files are no longer available unless you save the output to a specific location.

To save report output files to a specific location, use an ALLOCATE command. You can dynamically allocate an output file using the DYNAM ALLOCATE or TSO ALLOCATE command.

See the Overview and Operating Environments manual for details.

When you create a HOLD file using the syntax ON TABLE HOLD AS name, the name can contain up to the maximum number of characters supported by your operating system. For information, see the section Naming a Master File in the Describing Data manual.


Information Builders