COBOL · File status code
What does File Status 20 mean in COBOL?
The device or resource the file resides on is currently unavailable, typically because another process holds it.
The device or resource the file resides on is currently unavailable, typically because another process holds it.
Check for a concurrent job or process holding an exclusive lock on the same dataset, and confirm your job's DISP parameter matches the sharing you actually need.