I had done the program before using static call by having the subprogram and mainprogram in different load modules.
To achieve this, I made the changes in the cobol compiler and it worked well that time. But right now I am not able to remember how I done this.
The changes are like in SYSLIN DD statement of compiler (concatenation of load modules). Somewhat Like this. But I am not sure about this now.
so Kindly request you to send me a sample compiler program or let me know the information about the changes to be made in the compiler.
I searched through the forums and there was no information.
Kindly help me in this regard.