I am trying to use this solution. But I am finding below error in do loop. Can you help? 3280 do i=1 to dnum(did); 3281 memname=dread(did,i); 3282 call execute(cat("libname tranfile xport 3282! '&path_in\",strip(memname),"';proc copy in=tranfile out=out ;run;")); 3283 end; 3284 3285 run; NOTE: Argument 1 to function DNUM(0) at line 3280 column 19 is invalid. ERROR: Invalid DO loop control information, either the INITIAL or TO expression is missing or the BY expression is missing, zero, or invalid. rc=0 did=0 i=1 memname= _ERROR_=1 _N_=1 NOTE: Mathematical operations could not be performed at the following places. The results of the operations have been set to missing values.
... View more