I've a printer file with a 2 Header and 2 detail record format with SPACEB(002) for all of them....I moved the values to the fields of the Detail and of Header formats. When i ran the program report is generating. i like to know how the printed lines is getting accumlated. When i debug after writing the header or detail record format line counter is incremneting dindt understand how it calculates? Can any help me out to understand the concept.
Header1 got 10 headers to print.
Detail1 got 10 records to print. same for header2 and detail2 also.