Warning: This topic does not affect the C generator.
You can define control breaks in DS dummy fields from the file.
Be careful with the access path used by the file, it must be sorted with respect to the defined control breaks, otherwise unexpected results may occur.Avoid reading a file that could affect the control break fields during processing.
Remember to use PRINT and not PRINT_VIEWS in the TOTAL_PROCEDURE sections. Indeed, the next record has already been read in this processing. The effects on the field assignments produced by PRINT_VIEWS would not be advisable.