COBOL Runtime Error Code – 222 SORT/MERGE error: see status keys (Fatal

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

COBOL Error Code :

222

Reason for this Error in COBOL

SORT/MERGE error: see status keys (Fatal) -You have tried a SORT/MERGE operation which has been unsuccessful for some reason. You might have had too many files open when you tried a SORT/MERGE operation, or the file which you are trying to access might be locked. -The action you should take depends on the situation in which it occurs. Check the status of each file (USING/ GIVING) defined in the SORT statement.

%d bloggers like this: