Hi,
U can take an empty file and compare this empty file with your input file in the first step of a JOB, If your Input file is empty, Then the RC wub be 28, if so, u can abend the JOB. if not, go to the next step in which your prg is executed to read the non-empty files.
P010 EXEC PGM=ISRSUPC,PARM=('LINECMP,OVSUML,UPDCNTL')
NEWDD DD DSN=InputFile,DISP=SHR
OLDDD DD DSN=An Empty File,Disp=shr
OUTDD DD SYSOUT=*
DELDD DD DUMMY
//SYSIN DD *
CMPCOLM 1:80
/*
***********************************************************
* RETURN CODE CHECK
***********************************************************
IF P010.RC not = 28 THEN
....