COBOL Runtime Error Code – 172 Recursive non-MF PERFORM is illegal (Fat

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

COBOL Error Code :

172

Reason for this Error in COBOL

Recursive non-MF PERFORM is illegal (Fatal) -You have tried full recursion of a PERFORM statement in a program that was submitted to your COBOL system with the OSVS parameter of the PERFORM-TYPE directive specified. That is, you have tried to end two PERFORMs with the same return address. -You should either resubmit your program to your COBOL system with a parameter other than OSVS specified for the PERFORM-TYPE directive, or recode your program so that each PERFORM has its own unique return address before you resubmit it to your COBOL system with the MF parameter of the PERFORM-TYPE directive specified.