I need to generate a file with 732 record length and I have to insert Column Names for each column. When I am providing Column values on the Header Section of the control card, columns are coming different rows instead of consecutively.
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
It's not clear if you have an existing file that you want to add headers to, or if you want to generate an output file with headers in some way. But if you want to use page headers, the DFSORT statements would be something like this:
If you want more specific help, you need to provide more details on what exactly you're trying to do, an example of input and expected output, RECFM and LRECL, etc.
Thanks Frank. I want to add header on the top of the existing file. In other words, the single line header of 732 length should be on the top of the file.
I am using below cards for Header and data massaging.