COBOL Runtime Error Code – 220 Attempt to execute more than one SORT or

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

COBOL Error Code :

220

Reason for this Error in COBOL

Attempt to execute more than one SORT or MERGE simultaneously (Fatal) -You have coded your program in such a way that it is trying to execute more than one SORT or MERGE operation at the same time. For example, you might have coded a SORT statement in the input or output procedure of another SORT statement, an operation that is specifically prohibited under the rules of ANSI COBOL. -You should recode your program to ensure that it does not execute more than one SORT or MERGE at any one time.