Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to import XTP files into SAS datasets?

Answer Posted / prashanthi.a

libname xptfile xport "&libname\test.xpt";
libname sasfile2 "&libname\new\";

proc copy in=xptfile out=sasfile2 memtype=data;
run;
for example:
libname xptdmg xport 'C:\Documents and Settings\user2\My
Documents\pk_analysis\Work\02data_raw\dmg.xpt';

proc copy in=xptdmg out= rawdata memtype= data;
run;

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How would you identify a macro variable? : sas-macro

1016


Which are the statements whose placement in the data step is critical?

1253


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1746


what is the difference between calculating the 'mean' using the mean function and proc means? : Sas programming

1248


What is program data vector (pdv)?

1280


how can you create zero observation dataset? : Sas programming

1141


Describe the ways in which you can create a macro variable?

1081


what is hierarchy flattening? : Sas-di

1071


If you have a dataset that contains 100 variables, but you need only five of those, what is the code to force SAS to use only those variables?

1160


In ARRAY processing, what does the DIM function do?

1166


What do the sas log messages “numeric values have been converted to character” mean? What are the implications?

1186


What are the statements that are executed only?

1139


what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming

1267


What is the difference between SAS functions and procedures?

1144


How would you include common or reuse to be processed along with your statements?

2362