Joined: 20 Oct 2006 Posts: 6962 Location: porcelain throne
you can write an edit macro, which would find the display command and comment the line. (or delete) the macro would have to be sophisticated enough to recognize multi-line objects.
another way would to be use x all, f all 'display'. The interrogate the non-displayed lines following the display command, looking for multi-line display statements. after insuring that all displayed lines are part of the cobol display statements, delete all nx.
I have always coded a comment preceding and following a display statement, then it was easier for my edit macro to find them.