COBOL ensures that this file cannot be reopened by this COBOL program during this processing of the program. External files closed WITH LOCK cannot be opened again within the run unit. This includes any other programs that have defined the external file.