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
--
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
--