Cobol sub-program question.
Posted: Mon Jun 09, 2014 12:24 pm
Hi,
Another question I've asked is: I have 100 subprogrames they are linked statically. I modify 90th and 95th sub-programs. Should I compile all the programs once again or I can just compile the 90 and 95th subprogram.
I answer only the 90, 95th and the main program should be compiled. Is this correct? If yes, can someone please explain more as I think it might be wrong as when programs are statically linked they will have a signle load module and compiling only the changed program will not link it any other sub-program (what if some sub-program is calling other sub-program). And if it is so, what's the benefir of having dynamic call? Can someone please explain in detail.
Another question I've asked is: I have 100 subprogrames they are linked statically. I modify 90th and 95th sub-programs. Should I compile all the programs once again or I can just compile the 90 and 95th subprogram.
I answer only the 90, 95th and the main program should be compiled. Is this correct? If yes, can someone please explain more as I think it might be wrong as when programs are statically linked they will have a signle load module and compiling only the changed program will not link it any other sub-program (what if some sub-program is calling other sub-program). And if it is so, what's the benefir of having dynamic call? Can someone please explain in detail.