Hi,

Having a problem trying to recompile all programs that use a module that I just modified. In the module, I added a call to a subprocedure in another module. Everything is bound by copy. I add the new module to the BNDDIR.

If I use our compile tool, the tool sets up the library list for the program then runs :

CRTPGM PGM(&IOBJLIB/&IPGM) MODULE(&IOBJLIB/&IPGM) +
ENTMOD(*PGM) BNDDIR(&IOBJLIB/&IPGM) +
ACTGRP(&WACTGRP) OPTION(*DUPVAR)

The program does not create. In the joblog I get unresolved reference messages, with the name of an imported subprocedure. This is because the new module also makes external bound calls. I have to find all these modules and add them to the BNDDIR. Then I have to find all the programs that use the module I modified and add the same modules to the BNDDIR.

What I don't get is, if I set up my library list from the command line and run the same CRTPGM command as the utility, but from the command line, my program creates.

Any ideas?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.