/* PROC DBF to read/write dBase files */ /*******************************************************************\ | Copyright (C) 1997 by SAS Institute Inc., Cary, NC, USA. | | | | SAS (R) is a registered trademark of SAS Institute Inc. | | | | SAS Institute does not assume responsibility for the accuracy of | | any material presented in this file. | \*******************************************************************/ /* If you have SAS numeric values with decimal points, they will be truncated when you convert them to dBase fields UNLESS you have have a permanent SAS decimal format associated with the variable in the SAS dataset. */ /* This example converts the sasuser.houses dataset to a dbf file called myfile.dbf */ filename test '/tmp/myfile.dbf'; proc dbf data=sasuser.houses db4=test; run; /* This example converts the /tmp/myfile.dbf file to a work dataset named houses */ proc dbf db4=test out=work.houses; run;