I'm not certain in assembler, but in COBOL, there is a START statement that 
will position a file at a given record which has a key that is EQ, GT, GE, or 
NE to the one you supply.  This does not READ the record, but simply sets the 
pointer.  Subsequent READ stamens will proceeded sequentially until you have 
processed all the related records.  You could then issue another START to skip 
to the next key value you needed.

I would think someone might have an assembler macro to do this.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to