I am trying to use external MACRO throughout my program to get a number value from "var1" to inside of one of my file names "file_&var1.DAT":
1. "var1" is not in the dataset "data1"
2. "var1" may be a number from 01 to 99
%let var1=%SYSGET (var5);
put @1 var2 $char2.
@3 var3 $char2.
@5 var4 $char3.
@8 var5 $char2.
@10 var6 $char1.;
Please let me know what am I doing wrong here?
I am getting the following WARNING: The argument to macro function %SYSGET is not defined as a system variable.