12-28-2016 03:43 PM
I have a folder in sas studio with multiple xpt files.How to convert it into sas datasets?I can do it choosing each file in to a dataset but how to make it dynamic?
12-28-2016 05:06 PM
Start by getting the import for one file working properly first. Here is a link to the CIMPORT procedure to get you started:
A dynamic solution will most likely involve building a macro.
01-03-2017 01:28 AM
libname xylib xport "/home/p0/AM2/data/agxpt/*.xpt ";
proc copy in=xylib out=work;
I tried this to convert all xpt files frm agxpt folder but only 4 files i see converted into dataset.Folder have 7 files.Any idea why?