Error with label while Proc export in excel sas -
i have data set. (name - table, field - field1 label="current.field") when
proc export data=work.table label; outfile = 'bla bla'; dbms=excelcs; run;
i error:
cli execute error: [microsoft][odbc excel driver] 'current.field' not valid name. make sure not include invalid characters or punctuation , not long..
i know problem in label - contains ".". need label fro need. knows how solve problem? you.
if need sas labels periods (.) in excel (row 2) can try approach outlined in blog post.
simply add label keyword proc export step follows:
/* send data */ proc export data=&libds outfile=_webout dbms=&type replace label; run;
then, when setting web query, ensure target cell in row 2 (eg a2). worked fine me, follows:
Comments
Post a Comment