convert xpt to sas dataset

libname sasfile “C:\Users\.\NHANES”;

libname xptfile xport “C:\Users\.\NHANES\DEMO_I.xpt” access=readonly;

proc copy inlib=xptfile outlib=sasfile;

run;