If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
When processing a subfile, usually you read any records that were changed by using the READC opcode. There are times when you want to make SURE a particular subfile record is processed again upon the next input from the screen. (Error correction, data validation etc.) By doing an update on the subfile record with the SFLNXTCHG keyword activated (by an indicator) you ensure that the record wil be read again once the screen has been displayed.
Hope you have got ur answer by seeing the earlier replies, just wanted to add that SFLNXTCHG is usually associated with an indicator that flags the subfile record as changed.
Another point to remember is that this keyword is specified on the subfile format, not the subfile control format, because the SFLNXTCHG information will be unique to each record.
Comment