Is there a way to check a file to see if it has records in it with a CL program before calling an RPG program that uses the file? I want to backup a recordset before changing any data in it, but only if the recordset contains data. Otherwise, I want the backup to remain intact.