COBOL Runtime Error Code – 229 SORT/MERGE module does not support EXTER

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

COBOL Error Code :

229

Reason for this Error in COBOL

SORT/MERGE module does not support EXTERNAL using/giving files (Recoverable) -You have tried a SORT or MERGE operation which has USING/ GIVING files which are defined as EXTERNAL. The SORT/ MERGE module does not support USING/ GIVING files defined as EXTERNAL. -Recompile your program to use the callable SORT module (EXTSM).