OK I played with your code a bit.
Changed the file to an Input Primary, and removed the File definition.
Run the job and it returns the record name.
FPFBOOKS IP E DISK INFDS(PFDS)
DOPEN_IND 9 9N
DEOF_IND 10 10N
C RECORD DSPLY
C SETON LR
This won’t tell you if there is any data, just that there is a valid record format.