Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stck Overflow

Status
Not open for further replies.

JUNIEMAN

Programmer
Jul 17, 2020
1
US
I have been running an Open Cobol program for about 2 weeks.
Today, when I tried to run it, I got the following error message:
MERRILL_MAX_AMOUNTS.COB:748: libcob: Stack overflow, possible PERFORM depth exceeded
I went back to several saved programs (with the same name) and tried to run them but I got the same error message.
I have other Cobol programs that run with no problem.
 
Sounds like it may be data related then. Does any particular record look like it may be causing that issue?
 
Is it possible you have a recursive PERFORM? If so, check its termination condition carefully. Not too familiar with Open COBOL error messages. What is at line 748 in MERRILL_MAX_AMOUNTS?

Tom Morrison
Consultant
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top