05 MOD-UPD-TRN-RECORD OCCURS 100 TIMES INDEXED BY
10 TAB-MOD-UPD-TRN PIC X(4).
Now, what I would like to do is, read the contents of this table, one by one until 'spaces' is encountered..and when I am reading this, I would like to move its contents to an output line which can hold up to 5 of the items from this table (my output area designated for this is twenty bytes...)
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
define an output area which is 20 bytes long (char)
when you encounter an index item which is equal 'spaces'
move TRN-UPD-TABLE to the newly defined output area,
maybe you can solve this in any other way also...