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
FILE CONTENTS REPORT
File Printed USERID9.FASAMP.EMPLOYEE
Type VSAM KSDS
RECORD: 1 EMPLOYEE-MASTER-FILE
---- FIELD LEVEL/NAME ------- -FORMAT- ----+----1----+----2----+----3----+----4
5 EMP-NUMBER 5/AN 00090
5 EMP-LAST-NAME 15/AN MARTIN
5 EMP-FIRST-NAME 10/AN EDWARD
5 EMP-MID-INIT 1/AN M
5 FILLER 2/AN
5 EMP-TITLE 30/AN AIRPLANE MANUFACTURER
5 EMP-PERSONAL-INFO SYNC 23/GRP
10 EMP-NATL-ID-NUMBER 9/NUM 427890125
10 FILLER 1/AN
10 EMP-DATE-OF-BIRTH 6/AN 101954
10 EMP-HIRE-DATE 6/AN 920101
10 EMP-MARITAL-STATUS 1/AN M
5 EMP-WITHOLD-INFO SYNC 15/GRP
10 EMP-LIFE-INS-WITHOLD-AMT DISPLAY 30000}
6/SNUM -3000.00
10 EMP-NATL-TAX-WITHOLD-PCT 3/PS -74.00
10 EMP-REGION-TAX-WITHOLD-PCT
3/PS 25.00
10 EMP-LOCAL-TAX-WITHOLD-PCT
3/PS 5.00
5 EMP-HOME-ADDRESS SYNC 50/GRP
10 EMP-STREET-ADDRESS 25/AN 859 O’FARREL ST.
10 FILLER 1/AN
10 EMP-CITY 15/AN SAN FRANCISCO
10 EMP-STATE-PROV-CNTY SYNC 4/GRP
15 EMP-STATE 2/AN CA
15 FILLER 2/AN
10 EMP-POSTAL-CODE 5/NUM 12121
5 EMP-EMERGENCY-CONTACT SYNC 47/GRP
10 EMP-CONTACT-NAME 25/AN BILL JONES
10 FILLER 2/AN
10 EMP-CON-WORK-PHONE 10/AN 4085555897
10 EMP-CON-HOME-PHONE 10/AN 4155556981
File Contents Report — Formatted — Page 2 of 2
FILE CONTENTS REPORT
File Printed USERID9.FASAMP.EMPLOYEE
Type VSAM KSDS
RECORD: 2 EMPLOYEE-MASTER-FILE
---- FIELD LEVEL/NAME ------- -FORMAT- ----+----1----+----2----+----3----+----4
5 EMP-NUMBER 5/AN 00100
5 EMP-LAST-NAME 15/AN MULSTROM
5 EMP-FIRST-NAME 10/AN ROBERTA
5 EMP-MID-INIT 1/AN A
5 FILLER 2/AN
5 EMP-TITLE 30/AN HOLLYWOOD SEAMSTRESS
5 EMP-PERSONAL-INFO SYNC 23/GRP
10 EMP-NATL-ID-NUMBER 9/NUM 346573656
10 FILLER 1/AN
10 EMP-DATE-OF-BIRTH 6/AN 090859
10 EMP-HIRE-DATE 6/AN 920111
10 EMP-MARITAL-STATUS 1/AN S
5 EMP-WITHOLD-INFO SYNC 15/GRP
10 EMP-LIFE-INS-WITHOLD-AMT DISPLAY 80000{
6/SNUM 8000.00
10 EMP-NATL-TAX-WITHOLD-PCT 3/PS 55.00
10 EMP-REGION-TAX-WITHOLD-PCT
3/PS 5.00
10 EMP-LOCAL-TAX-WITHOLD-PCT
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.1
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
EMP-NUMBER EMP-LAST-NAME EMP-FIRST-NAME EMP-MID-INIT FILLER EMP-TITLE EMP-NATL-ID-NUMBER
1 2 3 4 5 6 8
(1-5) (6-20) (21-30) (31-31) (32-33) (34-63) (64-72)
1--------- 2-------------- 3------------- 4----------- 5------- 6----------------------------- 8-----------------
000000001 00090 MARTIN-aa EDWARD M AIRPLANE MANUFACTURER 427890125
000000002 00100 MULSTROM ROBERTA A HOLLYWOOD SEAMSTRESS 346573656
000000003 00200 JACKSON JOSEPH C ORATOR 275587177
000000004 10000 ANDREWS GEORGE ACTOR 576312032
000000005 15000 MURPHY RONALD L PAINTER 987654321
File Contents Report — VPRINT Across then Down - Page 1.2
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
FILLER EMP-DATE-OF-BIRTH EMP-HIRE-DATE EMP-MARITAL-STATUS EMP-LIFE-INS-WITHOLD-AMT EMP-NATL-TAX-WITHOLD-PCT
9 10 15 16 18 19
(73-73) (74-79) (80-85) (86-86) (87-92) (93-95)
9------- 10--------------- 15----------- 16---------------- 18---------------------- 19----------------------
000000001 101954 920101 M -3000.00 -74.00
000000002 090859 920111 S 8000.00 55.00
000000003 020462 920121 S 0 55.00
000000004 042248 920131 S 0 INVALID
000000005 120255 920201 S 5000.00 7.00
File Contents Report — VPRINT Across then Down - Page 1.3
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
EMP-REGION-TAX-WITHOLD-PCT EMP-LOCAL-TAX-WITHOLD-PCT EMP-STREET-ADDRESS FILLER EMP-CITY EMP-STATE
20 21 23 24 25 27
(96-98) (99-101) (102-126) (127-127) (128-142) (143-144)
20------------------------ 21----------------------- 23----------------------- 24------- 25------------- 27-------
000000001 25.00 5.00 859 O'FARREL ST. SAN FRANCISCO CA
000000002 5.00 17.00 4701 N. BASCOM AVE. #430 ANAHEIM CA
000000003 20.00 0 1401 S. BASCOM AVE. CANOGA PARK CA
000000004 25.00 15.00 375 MERRIVALE W. SQ. SUNNYVALE CA
000000005 20.00 0 7716 HAWTHORNE AVE. SANTA CLARA CA
File Contents Report — VPRINT Across then Down - Page 1.4
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
FILLER EMP-POSTAL-CODE EMP-CONTACT-NAME FILLER EMP-CON-WORK-PHONE EMP-CON-HOME-PHONE CONTINUED-FIELD
28 29 31 32 33 34 35
(145-146) (147-151) (152-168) (177-178) (179-188) (189-198) (199-227)
28------- 29------------- 31--------------- 32------- 33---------------- 34---------------- 35-------------------------->
000000001 12121 BILL JONES 4085555897 4155556981 1234+6789=1234+67789=1234+678
000000002 95126 GEORGE 2155552010 2155559021 This is data that is continue
000000003 94106 ANGELA 2125552010 2125559021 In the past we would have tru
000000004 94134 DICK 4045552010 4045559021
000000005 95025 JEFF 3125552010 3125559021
File Contents Report — VPRINT Across then Down - Page 1.5
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
CONTINUED-FIELD
35
(228-273)
<35--------------------------------------------------
000000001 9=1234+6789=1234+6789=1234+56789=1234+6789=1234+
000000002 d from one page to the next
000000003 ncated this field because it was too long to print
000000004
000000005
File Contents Report — VPRINT Down then Across - Page 1.1
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
EMP-NUMBER EMP-LAST-NAME EMP-FIRST-NAME EMP-MID-INIT FILLER EMP-TITLE EMP-NATL-ID-NUMBER
1 2 3 4 5 6 8
(1-5) (6-20) (21-30) (31-31) (32-33) (34-63) (64-72)
1--------- 2-------------- 3------------- 4----------- 5------- 6----------------------------- 8-----------------
000000001 00090 MARTIN-aa EDWARD M AIRPLANE MANUFACTURER 427890125
000000002 00100 MULSTROM ROBERTA A HOLLYWOOD SEAMSTRESS 346573656
000000003 00200 JACKSON JOSEPH C ORATOR 275587177
000000004 10000 ANDREWS GEORGE ACTOR 576312032
000000005 15000 MURPHY RONALD L PAINTER 987654321
File Contents Report — VPRINT Down then Across - Page 2.1
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
EMP-NUMBER EMP-LAST-NAME EMP-FIRST-NAME EMP-MID-INIT FILLER EMP-TITLE EMP-NATL-ID-NUMBER
1 2 3 4 5 6 8
(1-5) (6-20) (21-30) (31-31) (32-33) (34-63) (64-72)
1--------- 2-------------- 3------------- 4----------- 5------- 6----------------------------- 8-----------------
000000049 99880 FRANK HENRY ECONOMIST 326354776
000000050 99990 BECKEY GEORGE M FIREMAN 276420632
File Contents Report — VPRINT Down then Across - Page 1.2
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
FILLER EMP-DATE-OF-BIRTH EMP-HIRE-DATE EMP-MARITAL-STATUS EMP-LIFE-INS-WITHOLD-AMT EMP-NATL-TAX-WITHOLD-PCT
9 10 15 16 18 19
(73-73) (74-79) (80-85) (86-86) (87-92) (93-95)
9------- 10--------------- 15----------- 16---------------- 18---------------------- 19----------------------
000000001 101954 920101 M -3000.00 -74.00
000000002 090859 920111 S 8000.00 55.00
000000003 020462 920121 S 0 55.00
000000004 042248 920131 S 0 INVALID
000000005 120255 920201 S 5000.00 7.00
File Contents Report — VPRINT Down then Across - Page 2.2
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
FILLER EMP-DATE-OF-BIRTH EMP-HIRE-DATE EMP-MARITAL-STATUS EMP-LIFE-INS-WITHOLD-AMT EMP-NATL-TAX-WITHOLD-PCT
9 10 15 16 18 19
(73-73) (74-79) (80-85) (86-86) (87-92) (93-95)
9------- 10--------------- 15----------- 16---------------- 18---------------------- 19----------------------
000000049 050550 930421 M 5000.00 30.00
000000050 101954 940415 M 0 25.00
File Contents Report — VPRINT Down then Across - Page 1.3
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
EMP-REGION-TAX-WITHOLD-PCT EMP-LOCAL-TAX-WITHOLD-PCT EMP-STREET-ADDRESS FILLER EMP-CITY EMP-STATE
20 21 23 24 25 27
(96-98) (99-101) (102-126) (127-127) (128-142) (143-144)
20------------------------ 21----------------------- 23----------------------- 24------- 25------------- 27-------
000000001 25.00 5.00 859 O'FARREL ST. SAN FRANCISCO CA
000000002 5.00 17.00 4701 N. BASCOM AVE. #430 ANAHEIM CA
000000003 20.00 0 1401 S. BASCOM AVE. CANOGA PARK CA
000000004 25.00 15.00 375 MERRIVALE W. SQ. SUNNYVALE CA
000000005 20.00 0 7716 HAWTHORNE AVE. SANTA CLARA CA
File Contents Report — VPRINT Down then Across - Page 2.3
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
EMP-REGION-TAX-WITHOLD-PCT EMP-LOCAL-TAX-WITHOLD-PCT EMP-STREET-ADDRESS FILLER EMP-CITY EMP-STATE
20 21 23 24 25 27
(96-98) (99-101) (102-126) (127-127) (128-142) (143-144)
20------------------------ 21----------------------- 23----------------------- 24------- 25------------- 27-------
000000049 7.00 0 9613 RAMONA AVE PORTLAND OR
000000050 6.00 0 25003 MONTE BLVD LOS GATOS CA
File Contents Report — VPRINT Down then Across - Page 1.4
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
FILLER EMP-POSTAL-CODE EMP-CONTACT-NAME FILLER EMP-CON-WORK-PHONE EMP-CON-HOME-PHONE CONTINUED-FIELD
28 29 31 32 33 34 35
(145-146) (147-151) (152-168) (177-178) (179-188) (189-198) (199-227)
28------- 29------------- 31--------------- 32------- 33---------------- 34---------------- 35-------------------------->
000000001 12121 BILL JONES 4085555897 4155556981 1234+6789=1234+67789=1234+678
000000002 95126 GEORGE 2155552010 2155559021 This is data that is continue
000000003 94106 ANGELA 2125552010 2125559021 In the past we would have tru
000000004 94134 DICK 4045552010 4045559021
000000005 95025 JEFF 3125552010 3125559021
File Contents Report — VPRINT Down then Across - Page 2.4
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
FILLER EMP-POSTAL-CODE EMP-CONTACT-NAME FILLER EMP-CON-WORK-PHONE EMP-CON-HOME-PHONE CONTINUED-FIELD
28 29 31 32 33 34 35
(145-146) (147-151) (152-168) (177-178) (179-188) (189-198) (199-227)
28------- 29------------- 31--------------- 32------- 33---------------- 34---------------- 35-------------------------->
000000049 97012 BETTY WHITAKER 2065553836 2065550623
000000050 95030 PATRICIA BECKEY 4085553836 4085551654
File Contents Report — VPRINT Down then Across - Page 1.5
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
CONTINUED-FIELD
35
(228-273)
<35--------------------------------------------------
000000001 9=1234+6789=1234+6789=1234+56789=1234+6789=1234+
000000002 d from one page to the next
000000003 ncated this field because it was too long to print
000000004
000000005
File Contents Report — VPRINT Down then Across - Page 2.5
FILE CONTENTS REPORT
FILE PRINTED PFHIAF0.FASAMP.EMPMAST
TYPE SEQUENTIAL
CONTINUED-FIELD
35
(228-273)
<35--------------------------------------------------
000000049
000000050
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
RECRD 1 DATA 198 CHAR 00090MARTIN EDWARD M AIRPLANE MANUFACT
RBA 0 1...5...10...15...20...25...30...35...40...45...50
CHAR URER 427890125 101954920101M30000} & &
51..55...60...65...70...75...80...85...90...95.....
CHAR 859 O’FARREL ST. SAN FRANCISCO CA 1212
101...5...10...15...20...25...30...35...40...45...50
CHAR 1BILL JONES 40855558974155556981
151..55...60...65...70...75...80...85...90...95...
RECRD 2 DATA 198 CHAR 00100MULSTROM ROBERTA A HOLLYWOOD SEAMSTR
RBA 198 1...5...10...15...20...25...30...35...40...45...50
CHAR ESS 346573656 090859920111S80000{ & &
51..55...60...65...70...75...80...85...90...95.....
CHAR 4701 N. BASCOM AVE. #430 ANAHEIM CA 9512
101...5...10...15...20...25...30...35...40...45...50
CHAR 6GEORGE 21555520102155559021
151..55...60...65...70...75...80...85...90...95...
RECRD 3 DATA 198 CHAR 00200JACKSON JOSEPH C ORATOR
RBA 396 1...5...10...15...20...25...30...35...40...45...50
CHAR 275587177 020462920121S00000{ &
51..55...60...65...70...75...80...85...90...95.....
CHAR 1401 S. BASCOM AVE. CANOGA PARK CA 9410
101...5...10...15...20...25...30...35...40...45...50
CHAR 6ANGELA 21255520102125559021
151..55...60...65...70...75...80...85...90...95...
RECRD 4 DATA 198 CHAR 10000ANDREWS GEORGE ACTOR
RBA 594 1...5...10...15...20...25...30...35...40...45...50
CHAR 576312032 042248920131S00000{ & &
51..55...60...65...70...75...80...85...90...95.....
CHAR 375 MERRIVALE W. SQ. SUNNYVALE CA 9413
101...5...10...15...20...25...30...35...40...45...50
CHAR 4DICK 40455520104045559021
151..55...60...65...70...75...80...85...90...95...
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 — Hexadecimal
RECRD 1 DATA 198 CHAR 00090MARTIN EDWARD M AIRPLANE MANUFACT
RBA 0 ZONE FFFFFDCDECD444444444CCECDC4444D44CCDDDCDC4DCDECCCE
NUMR 00090419395000000000546194000040019973155041546133
1...5...10...15...20...25...30...35...40...45...50
CHAR URER 427890125 101954920101M30000} & &
ZONE EDCD444444444FFFFFFFFF4FFFFFFFFFFFFDFFFFFD04005005
NUMR 49590000000004278901250101954920101430000070D20C00
51..55...60...65...70...75...80...85...90...95.....
CHAR 859 O’FARREL ST. SAN FRANCISCO CA 1212
ZONE 0FFF4D7CCDDCD4EE44444444444ECD4CDCDCCECD44CC44FFFF
NUMR C85906D619953023B000000000021506915392360031001212
101...5...10...15...20...25...30...35...40...45...50
CHAR 1BILL JONES 40855558974155556981
ZONE FCCDD4DDDCE44444444444444444FFFFFFFFFFFFFFFFFFFF
NUMR 129330165520000000000000000040855558974155556981
151..55...60...65...70...75...80...85...90...95...
RECRD 2 DATA 198 CHAR 00100MULSTROM ROBERTA A HOLLYWOOD SEAMSTR
RBA 198 ZONE FFFFFDEDEEDDD4444444DDCCDEC444C44CDDDEEDDC4ECCDEED
NUMR 00100443239640000000962593100010086338666402514239
1...5...10...15...20...25...30...35...40...45...50
CHAR ESS 346573656 090859920111S80000{ & &
ZONE CEE4444444444FFFFFFFFF4FFFFFFFFFFFFEFFFFFC05005007
NUMR 52200000000003465736560090859920111280000050C00C10
51..55...60...65...70...75...80...85...90...95.....
CHAR 4701 N. BASCOM AVE. #430 ANAHEIM CA 9512
ZONE 0FFFF4D44CCECDD4CEC447FFF44CDCCCCD44444444CC44FFFF
NUMR C470105B02123640155B0B4300015185940000000031009512
101...5...10...15...20...25...30...35...40...45...50
CHAR 6GEORGE 21555520102155559021
ZONE FCCDDCC444444444444444444444FFFFFFFFFFFFFFFFFFFF
NUMR 675697500000000000000000000021555520102155559021
151..55...60...65...70...75...80...85...90...95...
RECRD 3 DATA 198 CHAR 00200JACKSON JOSEPH C ORATOR
RBA 396 ZONE FFFFFDCCDEDD44444444DDECDC4444C44DDCEDD44444444444
NUMR 00200113226500000000162578000030069136900000000000
1...5...10...15...20...25...30...35...40...45...50
CHAR 275587177 020462920121S00000{ &
ZONE 4444444444444FFFFFFFFF4FFFFFFFFFFFFEFFFFFC05000000
NUMR 00000000000002755871770020462920121200000050C20C00
51..55...60...65...70...75...80...85...90...95.....
CHAR 1401 S. BASCOM AVE. CANOGA PARK CA 9410
ZONE 0FFFF4E44CCECDD4CEC44444444CCDDCC4DCDD4444CC44FFFF
NUMR C140102B02123640155B000000031567107192000031009410
101...5...10...15...20...25...30...35...40...45...50
CHAR 6ANGELA 21255520102125559021
ZONE FCDCCDC444444444444444444444FFFFFFFFFFFFFFFFFFFF
NUMR 615753100000000000000000000021255520102125559021
151..55...60...65...70...75...80...85...90...95...
Related topics