I have one PS file (Recfm=FB,LrecL=80).It?s needs to be processed only if the file have at least one record say at step 2. If not I have to process the next step says Step3. So I need to check whether the file is empty or not at step1. Is possible to do this by using SORT?.
I know we can do it by file aid by checking the return code 8. But I am expecting millions of records in this file. So to improve the performance, I want to implement this by using SORT.