COBOL Runtime Error Code – 031 Not owner of file (Recoverable) -You are

In this post, you’ll learn about the COBOL runtime Error Code 031 and the reason why you are receiving it

COBOL Error Code :

031

Reason for this Error in COBOL

Not owner of file (Recoverable) -You are trying an operation on a file but the file’s owner has not given you the necessary permission for that operation. You could for example be trying to alter the access modes for a file, which only the file’s owner can do. -You should abandon your tried file operation unless the file’s owner gives you the permission necessary to do the operation you want to carry out.