COBRT138 File closed with lock - cannot be opened (Recoverable)
Resolution:
You cannot open the relevant file. As this error implies that your program logic contains a mistake, you might want to close any remaining open files, execute a STOP RUN statement and recode.