File contents report


The File Contents Report is printed by a batch job submitted from the Print - JCL Specification screen. The File Contents Report can be printed in formatted, vertical formatted, character, or hexadecimal format. Examples of each format are shown in figures File Contents Report — Formatted — Page 1 of 2 through File Contents Report — Hexadecimal.

In each of the four reports (Formatted, Vertical Formatted, Character, and Hex) the record sequence number for each record is displayed in the RECORD field. This number is the sequence number of the record in the file, not merely a sequential number assigned to each record printed. That is why when you apply selection criteria, there are gaps in the record sequence numbers.

In Character and Hex formats, the length of each record is printed next to the record number and preceding the data. Hex format also shows record information including the RBA for a VSAM cluster, or the disk location (CCCC-HH-RRR) and blocksize for other DASD files.

For a VSAM-RRDS file, the RECORD field displays the relative record number for each record. For a BDAM file, it shows the relative block number for each block.

Formatted Print

Formatted print displays the level number/data-name, format, and field value in the current record for each field in the record layout. The format is similar to Edit formatted mode. See Formatted Mode for FORMAT and FIELD VALUE field descriptions. The center field column can be tailored by specifying one of the valid SHOW options (Format, Offset, Picture, Number).

The formatted File Contents report is similar to the FPRINT report produced from the formatted display of browse or edit.

If you entered an S in the Record layout usage field on the Print Data File screen, File-AID uses the single record layout specified to print the file contents. If you entered an X, the specified XREF dataset is used to determine the appropriate record layout for each record.

For segmented records, File-AID automatically invokes the NEXT command whenever more record data exists beyond the currently printed segment layout. This results in the printing of all record segments.

If File-AID is unable to retrieve the record layout for a particular record, the record is printed in hexadecimal format. Some common problems that cause the record to print in hexadecimal format are:

  • Current record’s record type was not found in the XREF member.
  • Record layout member name for the current record, specified in the XREF member, was not found in the record layout library.
  • Record layout for the current record has syntax errors.

File Contents Report — Formatted — Page 1 of 2

image2021-3-19_11-46-0.png

File Contents Report — Formatted — Page 2of 2

image2021-3-19_11-46-30.png

Vertical Formatted Print

Vertical formatted print displays the level number/data-name, format, and field value in the current record for each field in the record layout. The format is similar to Edit vertical formatted mode. See Vertical Formatted Mode. The middle field column headings can be tailored by specifying one of the valid SHOW options (Format, Offset, Picture, Number).

You must use an S for a single layout in the Record layout usage field on the Print Data File screen. XREFs are not supported for vertical formatted print. If File-AID is unable to retrieve the record layout for a particular record, the record is printed in hexadecimal format.

For print format only, if a field needs to be split between pages, the field heading separator line (------>) indicates field to be continued on next page, and correspondingly, (<------) indicates field continued from previous page.

File Contents Report — VPRINT Across then Down - Page 1.1image2021-3-19_11-46-57.png

File Contents Report — VPRINT Across then Down - Page 1.2image2021-3-19_11-47-21.png

File Contents Report — VPRINT Across then Down - Page 1.3image2021-3-19_11-47-45.png

File Contents Report — VPRINT Across then Down - Page 1.4image2021-3-19_11-48-12.png

File Contents Report — VPRINT Across then Down - Page 1.5image2021-3-19_11-48-33.png

File Contents Report — VPRINT Down then Across - Page 1.1

image2021-3-19_11-49-1.png

File Contents Report — VPRINT Down then Across - Page 2.1image2021-3-19_11-49-28.png

File Contents Report — VPRINT Down then Across - Page 1.2image2021-3-19_11-49-50.png

File Contents Report — VPRINT Down then Across - Page 2.2image2021-3-19_11-50-14.png

File Contents Report — VPRINT Down then Across - Page 1.3image2021-3-19_11-52-44.png

File Contents Report — VPRINT Down then Across - Page 2.3image2021-3-19_11-53-8.png

File Contents Report — VPRINT Down then Across - Page 1.4image2021-3-19_11-53-31.png

File Contents Report — VPRINT Down then Across - Page 2.4image2021-3-19_11-53-52.png

File Contents Report — VPRINT Down then Across - Page 1.5image2021-3-19_11-54-14.png

File Contents Report — VPRINT Down then Across - Page 2.5image2021-3-19_11-54-33.png

Character Print

Character print shows character data in lines up to 100 characters. Unprintable characters are represented by blanks. It is a single-line format that is similar to Edit character mode.

File Contents Report — Character

image2021-3-19_11-54-55.png

Hexadecimal Print

Hexadecimal print displays each record in a three-line format similar to Edit character mode with HEX ON. The top line (CHAR) contains the character representation of the record, the middle line (ZONE) contains the upper half-byte of each character in hexadecimal, and the third line (NUMR) contains the lower half-byte of each character in hexadecimal. The fourth line is a columns rule that assists with locating data.

File Contents Report — Hexadecimalimage2021-3-19_11-55-29.png

Related topics

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*