COBOL Runtime Error Code – 168 Stack overflow (Fatal) -You have nested

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

COBOL Error Code :

168

Reason for this Error in COBOL

Stack overflow (Fatal) -You have nested a PERFORM statement or a series of CALL statements too deeply. Alternately, if you have specified the CHECKSTACK directive when compiling your program, an incorrect number of parameters might have been used on a call, and as a result the stack has been corrupted. -Edit your program to reduce the number of levels in the nested PERFORM or CALL statement. If the CHECKSTACK directive has been used, determine which call is at fault and edit the source to provide the correct number and size of parameters.