Without knowing more about what exactly you want to accomplish you could just put the variables in a macro variable to be used in var statements across procs. Something like
Investigate using the old-style MACRO statement or MACRO variable for simple context substitution. Samples are listed below:
%LET XXXX = %QUOTE( * this is a comment; );
MACRO _YYYY
* this is also a comment;
%
The first example is referenced by &XXXX in your program.
The second example is referenced by the character string _YYYY -- in this case, the SAS code parser sees the MACRO statement declaration and then will make the substitution in its place.