I have this simple PROC HTTP procedure inside a macro function.
I want the &trainname and the &date not to be resolved. But the &datum and the &treinnumer must be resolved.
I tried experimenting with the %nrstr and %str macro-functions, but nothing works.
%macro treinnummers(treinnummer,datum);
filename uit "/home/myfolder/sasuser.v94/test.html";
proc http url="http://www.belgianrail.be/jpm/sncb-nmbs-routeplanner/trainsearch.exe/nox?ld=abcde%nrstr(&trainname)=&treinnummer.%nrstr(&date)=&datum."out=uit;
run;
%mend;