COBOL · File status code

File Status 20

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.

File Status 20IBM Enterprise COBOL · Micro Focus · GnuCOBOL

Condition

The device or resource the file resides on is currently unavailable, typically because another process holds it.

Fix

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.

Pending source verification. Not yet checked against official documentation.

Related file status code