• Bind showing old object even after adding /replacing a new define

    From Jane Rose@janerose2q@gmail.com to comp.sys.tandem on Tue Feb 14 02:45:25 2023
    From Newsgroup: comp.sys.tandem

    Hello All,

    I am trying to recompile a program. But this program is using a
    old submodule so I compiled it with new submodule version
    by adding a Define but it did not work.
    Then I did alter define but still after compilation the bind shows old object What can we do?
    Do we need to use Bind commands? Or we need to recompile with the submodule? --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Randall@rsbecker@nexbridge.com to comp.sys.tandem on Tue Feb 14 10:42:25 2023
    From Newsgroup: comp.sys.tandem

    On Tuesday, February 14, 2023 at 5:45:27 a.m. UTC-5, Jane Rose wrote:
    Hello All,

    I am trying to recompile a program. But this program is using a
    old submodule so I compiled it with new submodule version
    by adding a Define but it did not work.
    Then I did alter define but still after compilation the bind shows old object
    What can we do?
    Do we need to use Bind commands? Or we need to recompile with the submodule?

    Can you provide a bit more information on this? How is the submodule referenced in code? What do you mean by "adding a define"? Modules on NonStop, unless DLLs, are not automatically relinked.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Jane Rose@janerose2q@gmail.com to comp.sys.tandem on Tue Feb 14 21:25:59 2023
    From Newsgroup: comp.sys.tandem

    On Wednesday, February 15, 2023 at 12:12:27 AM UTC+5:30, Randall wrote:
    On Tuesday, February 14, 2023 at 5:45:27 a.m. UTC-5, Jane Rose wrote:
    Hello All,

    I am trying to recompile a program. But this program is using a
    old submodule so I compiled it with new submodule version
    by adding a Define but it did not work.
    Then I did alter define but still after compilation the bind shows old object
    What can we do?
    Do we need to use Bind commands? Or we need to recompile with the submodule?
    Can you provide a bit more information on this? How is the submodule referenced in code? What do you mean by "adding a define"? Modules on NonStop, unless DLLs, are not automatically relinked.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Jane Rose@janerose2q@gmail.com to comp.sys.tandem on Tue Feb 14 23:58:02 2023
    From Newsgroup: comp.sys.tandem

    On Wednesday, February 15, 2023 at 10:56:01 AM UTC+5:30, Jane Rose wrote:
    On Wednesday, February 15, 2023 at 12:12:27 AM UTC+5:30, Randall wrote:
    On Tuesday, February 14, 2023 at 5:45:27 a.m. UTC-5, Jane Rose wrote:
    Hello All,

    I am trying to recompile a program. But this program is using a
    old submodule so I compiled it with new submodule version
    by adding a Define but it did not work.
    Then I did alter define but still after compilation the bind shows old object
    What can we do?
    Do we need to use Bind commands? Or we need to recompile with the submodule?
    Can you provide a bit more information on this? How is the submodule referenced in code? What do you mean by "adding a define"? Modules on NonStop, unless DLLs, are not automatically relinked.

    Program A is calling a submodule X (say location $*.P.X). Changes were done in module X and compiled bt at
    Different location say $*.Q.X.
    Now when program A is compiled, the bind still shows $*.P.X even after I gave ALTER DEFINE, CLASS MAP filename
    Do I need to bind the program using bind commands?I checked the manual but did not get the exact procedure to do

    Could you please suggest
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Randall@rsbecker@nexbridge.com to comp.sys.tandem on Wed Feb 15 10:54:12 2023
    From Newsgroup: comp.sys.tandem

    On Wednesday, February 15, 2023 at 2:58:03 a.m. UTC-5, Jane Rose wrote:
    On Wednesday, February 15, 2023 at 10:56:01 AM UTC+5:30, Jane Rose wrote:
    On Wednesday, February 15, 2023 at 12:12:27 AM UTC+5:30, Randall wrote:
    On Tuesday, February 14, 2023 at 5:45:27 a.m. UTC-5, Jane Rose wrote:
    Hello All,

    I am trying to recompile a program. But this program is using a
    old submodule so I compiled it with new submodule version
    by adding a Define but it did not work.
    Then I did alter define but still after compilation the bind shows old object
    What can we do?
    Do we need to use Bind commands? Or we need to recompile with the submodule?
    Can you provide a bit more information on this? How is the submodule referenced in code? What do you mean by "adding a define"? Modules on NonStop, unless DLLs, are not automatically relinked.
    Program A is calling a submodule X (say location $*.P.X). Changes were done in module X and compiled bt at
    Different location say $*.Q.X.
    Now when program A is compiled, the bind still shows $*.P.X even after I gave ALTER DEFINE, CLASS MAP filename
    Do I need to bind the program using bind commands?I checked the manual but did not get the exact procedure to do

    Could you please suggest
    As I indicated, you cannot dynamically link a submodule unless it is a DLL. The ALTER DEFINE will have no effect in your environment. You must relink the program. This involves going back to the proper BIND script and running it - assuming you have all the objects and references to the right file. Your development team should have this.
    --- Synchronet 3.21d-Linux NewsLink 1.2