The following SAS program is submitted:

What is written to the SAS log?
The following SAS program is submitted:
What is written to the SAS log?
The macro variable 'Mv' is initially set to 'bicycles' outside the macro definition. The macro PRODUCT redefines 'Mv' to 'clothes' within its scope, but this does not affect the 'Mv' outside the macro. The macro is called with the parameter 'Mv=tents', but this is local to the macro and does not affect the outer 'Mv'. Therefore, the outer 'Mv', which is still 'bicycles', is used in the %put statement.
A. Mv is bicycle