|
Hi,
According to the "SAS/Connect 9.2 Users Guide, p. 126, example 3" a macro
definition embedded in a rsubmit-block is remotely submitted and none of the
macro statements are interpreted in the client session.
In the code below the client- and server-macro definitions are identical but
they are interpreted differently:
%macro test;
%macro client;
%let a=%str( );
%put x&a.x;
%mend client;
%client;
%let server=xx.xx.xx.xx xxxx;
signon server user=xxxxxx password='xxxxxxxx';
rsubmit;
%macro server;
%let a=%str( );
%put x&a.x;
%mend server;
%server;
endrsubmit;
signoff;
%mend test;
%test;
- produces the following output:
x x
xx
- and options=mprint shows the following macro-code in the rsubmit-block:
%macro server;
%let a= ;
%put x&a.x;
%mend server;
%server;
In other words the %str()-statement is not masked, hence the macros are
interpreted differently.
Is this an error, or am I missing something?
And if not an error, how can a macro be completely masked?
Regards,
Jesper
|