Requesting a print of a data file
You can print your data file in one of four formats: formatted (using a record layout), vertical formatted (using a record layout), character, or hexadecimal.
If you select the F (formatted) print option, you must specify record layout or XREF information. You must also specify the type of field description information to show on the report. The field description options are:
- F (Format) - Field length and current field format
- N (Number) - System-assigned field numbers
- O (Offset) - Offset of each field from beginning of the data set
- P (Picture) - Representation of the original data declaration for each elementary item.
Record layout usage
If you choose print format F (Formatted), you must specify a single record layout or XREF dataset member to define the layout(s) to use for printing the data records. If you select the V (vertical formatted) print option, you must specify a single record layout dataset member (see also Requesting a Vertical Format Print of a Data File).
Layout usage is ignored for print formats C (Character) and H (Hex).
Selection criteria
You may use standard File-AID selection criteria to select specific records for printing. You can use existing field selection criteria (created using the Selection Criteria function) or create temporary field selection criteria (options T (temporary) or Q (quick)).
Print Data File Screen
Steps:
- Type an F in the Print format field.
- Type an O in the Show field to request field offsets in the formatted report.
- Verify the values in the other fields are specified as shown in the previous figure. If they are not the same, type over the existing values to change them.
- Press Enter. File-AID displays the PRINT - JCL Specification screen where you specify the print JCL information for batch processing. This screen is shown in PRINT - JCL Specification Screen (SUBMIT Command).