Hello, i want to import Json file, i did it and the program work well, but i want to write it in macro. Instead full_address variable i want to put macro variable &comm. but when i write it as is, it's not work, i tried different options, but still i didn't get answer. What i should do? thank you filename business "&lnk_input2\name.json"; %macro flexdata(data,comm,output); data &output; infile &data lrecl=255 truncover scanover; input @ '"full_address": "' &comm $240.; &comm=substr(&comm,1,index(&comm,'",')-1); run; %mend; %flexdata(data=business,comm=full_address, output=business2);
... View more