I am attempting to use the print option (Print file contents), then data file (1 Data File - Print the contents of a data file:
in formatted mode using record layout
in vertical formatted mode using record layout
in three-line hexadecimal mode
in single-line character mode ) in fileaid to print to a file.
Out of 328 fields, I only want to print 7 of them to the file. I am using vfmt, record layout, and selection criteria. In addition to my values I am selecting I am also doing a DISPLAY of the fields I want to keep.
The fields I want to keep show up when I do 'DISPLAY 2,4,31,33,38,39,105 ONLY', when building the selection criteria, but when I submit the job to print to a file, ALL the fields are being written to the file. How do I get ONLY the fields I want to print to the file, or can it not be done in fileaid?