§READPE
moves the pointer to the previous record and reads the record and again moves
the pointer to next previous position and read the same matching record for
factor-1.

§Factor-1
is used to place the search argument which can be the key, relative record
number or field value or named constant or figurative constant used to retrieve
the record.

§READPE
is best used when there can be more than one record found. For example, you can
find multiple customer orders in your system for one unique customer in reverse
order while CHAIN is best used to locate a unique record (like a customer
record).

§Using
READPE, we can read all the records which match the records corresponding to
search argument in factor-1. If there are no records with the specified
criteria then the pointer will be set to BOF.

§To
handle READPE exceptions (file status codes greater than 1000), either the
operation code extender 'E' or an error indicator at LO level can be used.

§If
the data-structure is specified in result field then the result of the
operation is filled in the data structure.

§The
Equal Indicator gets turned-on if the EOF condition is met else it will be off.
Instead of using this indicator we can also go for %EOF().