gnucobol-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [open-cobol-list] CANCEL verb and updated sub programs


From: vince coen
Subject: Re: [open-cobol-list] CANCEL verb and updated sub programs
Date: Wed, 24 Oct 2007 16:28:54 +0100
User-agent: KMail/1.9.6

Hi

On Wednesday 24 Oct 2007, Gary Cowell wrote:
> I'm running a main program using cobcrun. This main program uses 'call' to
> invoke another module. Then loops and calls it again after issuing a
> 'cancel' and a delay. The main program never exits.
>
> The second module runs when it should.
>
> Even though the 'cancel' is issued, if the second module is changed and
> recompiled during the run of the main program, the changed module is never
> executed. The main program continues to call the old version of the
> subroutine. The recompiled one is never picked up.
>
> Is there a setting I need to change somewhere, switch or environment
> variable to have the main program call the new version of a module as soon
> as it's recompiled?

Are you using static or dynamic linkage?

Vince


reply via email to

[Prev in Thread] Current Thread [Next in Thread]