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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VA COBOL SORT

Status
Not open for further replies.

cobp

Programmer
Oct 19, 2001
30
DE
Hi,
I have posted the same question in Visual Age Solutions.
----

I have a proble with Visual Age COBOL Sort.

See the program call sequence given below.

MAIN(EXE)->SUB1(DLL)->SUBIO(DLL)

SUB1 is invoked from MAIN multiple times, SUBIO is the module that handles file operations and SORTS for multiple files. The problem is that if SUB1 is invoked multiple times(say >100) the application terminates during the execution without showing any error. If it is invoked lesser nr. of times(say 10), it would be fine.
I found the problem is in SUBIO, SORT that uses i-o procedures. After removing each the SORT from SUBIO,the situation became better. Finallly, I could replace the COBOL SORTs with a C routine. Now application runs without a crash.
Any body faced such a problem in COBOL SORT? Thanks
--
 
Hi,

perhaps it is a kind of carbage-problem. Maybe you can create a work-around by canceling the called module now and then.

Regards,

Crox
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top