I need to clarify my previous problem. I have the output going to the screen, not a file. Therefore when I display the results of my search on the screen it displays only one record and I am not sure how to display multiple records on the same screen.
This depends also on what system you are working. But, if you use the display statement, you can use more than one of course, until the screen is filled.
The display statement is not combined with the assign clause.
In your working-storage, you can also define a complete screen. There are examples on this site. You can display the screen in one statement.
The screen definition in your working-storage can also be written to a file. Line by line probably.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.