I know there is a read command that allows you to change the value you are looking for.
Something like this:
#V := ‘abc’
Read FILE (command I can’t think of) with Descriptor = #V
If Descriptor > #V
#V := 'XYZ
(Command to restart the READ using the new value"
Does anyone know what I’m talking about?