How to clear global variables in code ?
How to clear global variables in code ?
(OP)
Hi
I am running several fex's in sequence, each requiring some 'date' information that I create at the start of the first fex using SET commands and & variables
eg
-SET &&ST_YR_WK = EDIT (&START_YR_WK,'9999');
PROBLEM
I don't want the global variables to be accidentally used when running other unrelated fex's during the same session. Is there some way to 'clear' or 'reset' the defined global variations using code ?
I am running several fex's in sequence, each requiring some 'date' information that I create at the start of the first fex using SET commands and & variables
eg
-SET &&ST_YR_WK = EDIT (&START_YR_WK,'9999');
PROBLEM
I don't want the global variables to be accidentally used when running other unrelated fex's during the same session. Is there some way to 'clear' or 'reset' the defined global variations using code ?
RE: How to clear global variables in code ?
RE: How to clear global variables in code ?
I usually reset all such varialbles, whether local (&) or
global (&&), by:
-SET &&ST_YR_WK =;
-SET .....
-RUN
Peter.
RE: How to clear global variables in code ?
RE: How to clear global variables in code ?