Change to R/Basic program not taking... (AREV Specific)
At 25 FEB 2002 07:24:43PM Mary Jean Blink wrote:
Changes to R/Basic programs are made and then compiled, but will not be run unless we logout and then back in. The old version is executed until we logout and back in (Arev 3.12). This seems to be the case in a couple AREV 3.12 systems I've seen but not in 2x?
At 25 FEB 2002 08:57PM Michael Slack wrote:
You need to add EXPENDABLE to your SUBROUTINE (first) line. So it reads EXPENDABLE SUBROUTINE (program name). After you do that, you'll need to log out one more time. Once you log back in you should be good to go.
The problem you are having is that, yes your program changes are there and you get a good compile but you pre-modified program is still in memory. That is where the system first looks. It saves time. By adding EXPENDABLE, the program will be removed from memory after it has finished. So the next time you run it, it has to load it into memory fresh with any changes that you've made as if it's the first time its been called.
I hope this helps.
Michael Slack
At 25 FEB 2002 11:22PM Mary Jean Blink wrote:
Thanks for your help. We'll give it a try.
Is this different from 2x to 3x? I don't seem to have the problem in various 2x applications we support?
mjb
At 25 FEB 2002 11:58PM Mike Ruane wrote:
MJ-
Are you using the cache.mfs?
Mike
At 26 FEB 2002 10:36AM Dave Harmacek wrote:
There was a RELOAD utility once released just for this purpose. Some programs are cached. Mike, can RELOAD be released, again?
At 26 FEB 2002 10:44AM Don Miller - C3 Inc. wrote:
Have you tried the following from the TCL?
EVAL FLUSH
This seems to work for me.
Don
At 26 FEB 2002 11:52AM Mary Jean Blink wrote:
Nope.
At 26 FEB 2002 02:10PM Donald Bakke wrote:
I thought Template.Flush() also worked for programs on the stack as well.
dbakke@srpcs.com
At 26 FEB 2002 02:40PM Nick Stevenson wrote:
Remember the performance issues if you use Expendable…
At 26 FEB 2002 03:53PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Is the workstation in question running Windows 98 SE with write-caching enabled by mistake?
Are you running AREV in low memory conditions?
If you hit F6 while editing the source code - has the record somehow been converted to DOS format?
Are you running on an NT server where there are ghost sessions still running invisibly on the server for the current user?
Do you see the "Compilation Successful" message after Shift-F9?
Are you running your session over PC Anywhere or Citrix?
All of the above can produce "I'm certain I compiled it but it just didn't stick" problems.
World Leaders in all things RevSoft
At 02 MAR 2002 05:32AM Peter Lynch wrote:
I find that if I escape all the way to the main menu, then hit and twice, resident application programs usually get swapped out.
You havent included the problem program in the primary load have you?