Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Proc export

Status
Not open for further replies.

btmonroe

Programmer
Joined
Jun 25, 2007
Messages
5
Location
US
We have been using the simple macro for years as a quick way to export to a dbf. It works great except that field names over 8 characters are truncated. Is there an easy solution that would allow longer field names.

example:
%macro exportdbf(filename,data);
PROC EXPORT DATA= &data
OUTFILE= "&filename"
DBMS=DBF REPLACE;
RUN;
%mend;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top