Guest_imported
New member
- Jan 1, 1970
- 0
Using the perform varying statement.
perform b0001-read thru b001-exit
varying 1 by 1 until >= 200.
What if I have anywhere from 4 to 200 records and I want to display on the screen the first 11 records, then if there are more than 11 records, I want to display those next 11 records. How would I do that with the perform varying statement???
perform b0001-read thru b001-exit
varying 1 by 1 until >= 200.
What if I have anywhere from 4 to 200 records and I want to display on the screen the first 11 records, then if there are more than 11 records, I want to display those next 11 records. How would I do that with the perform varying statement???