Hi all
I have no problems reading/copy an Excel file through Filename URL, like
[pre]
filename dav URL "&input" debug recfm=s;
filename target "&target" recfm=n;
data _null_;
length x $32000 char $1;
infile dav length=len lrecl=32767 nbyte=nbyt;
nbyt = -1;
input;
file target lrecl=32767;
do i = 1 to len;
char = substr(_infile_,i,1);
put char $char1. @@;
end;
run;
[/pre]
But when I try to write/copy an Excel file through Filename URL, I keep getting the error "URL/HTTP Access Method does not support Random mode".
Question is: How do I write(copy) an Excel file through Filename URL using data step ?
... View more