Hello,
I would like to know how to call a macro on a Unix server (see the macro below)
%macro Transferbookibnrtodev(dev=,cie=,yyyy=,mm=);
libname source spde "/dwh_actuariat/sasdata/sas2020/&cie."; libname dest spde "/dwh_actuariat/sasdata/sas2020&dev./&cie.";
proc copy in=source out=dest;
select &cie._bookibnr_&yyyy.&mm.;
If we need to make a ksh file , please provide an example
Regards,
run;
libname source clear; libname dest clear;
/*Example of call: %Transferbookibnrtodev(dev=5,cie=golf ,yyyy=2020,mm=10);*/
%mend Transferbookibnrtodev;
... View more