Use the SETLL instruction.
This will seton an indicator if record exists, but does not bring the data into your program
SELECT count(*) FROM file Where <condition>
Specify the conditions to recognize the record. See if the count is zero or greater than zero.
But it doesn’t make much sense — what do you mean by checking in ILERPG “WITHOUT READING THE FILE”? (And why are you shouting?) Why does it need to be in ILERPG? Do you mean you don’t want the file read at all or that you don’t want to code any reading of the file?