🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to convert WPD datasets to SAS7BDAT datasets?

User: "Nico Chart_21517"
Altair Employee
Updated by Nico Chart_21517

To convert .wpd datasets to .sas7bdat datasets you can use PROC COPY with the appropriate database engine.

For example, suppose you have .wpd datasets located at c:\Temp\altairslc\DATASET1.wpd etc … and an empty folder called c:\Temp\sas.

The following code should generate an equivalent dataset1.sas7bdat dataset in C:\Temp\sas.

libname alib "C:\Temp\altairslc";
libname slib sas7bdat "C:\Temp\sas";
proc copy in=alib out=slib;
run;

and will convert *all* WPD datasets in c:\Temp\altairslc to sas7bdat datasets in c:\Temp\sas.

 

Find more posts tagged with