Common variables (AREV Specific)
At 11 JUL 2005 01:42:30PM Daniel Rebich wrote:
Good day to everyone.
I have created a program that defines common variables and compiled
it. I have inserted it into the programs that need to have access to the common variables and everything works fine. I am having problems when I add variables to the program that defines the common variables and then try to use the new variables. I have recompiled all the programs that have $INSERT in them, but I continue to receive the error "Attempt to use COMMON variable not defined in the original COMMON. I'm certain that I am missing something very simple, but I can't put my finger on it, any insight would be appreciated.
thanks
Daniel Rebich
At 11 JUL 2005 01:59PM Richard Hunt wrote:
Maybe you can try the "CLEAR COMMON" sentence, or try logging out.
At 11 JUL 2005 04:20PM Victor Engel wrote:
If it is a labelled common, then the common is defined during its first use during a session. If you change the definition of a labeled common, the easiest thing to do is to log off and back on again. Then, when you use the common again, it will be reinitialized with your new definition.
If it's a common but not a labelled common, this should not be necessary, and if you're still having problems, then you either missed compiling something or you have a VOC item pointing to a different location (maybe you have a software distribution system, for example, that moves object code after compilation).
At 11 JUL 2005 04:38PM dsig _at_ sigafoos.org wrote:
The best thing to do is to always create extra 'bits' to your label commons .. that way you can rename them and they work right off. Rename and recompile is all you need to do