DATA Step, Macro, Functions and more

Convert dataset to SAS V8 using SAS V9.2

Accepted Solution Solved
Reply
Contributor
Posts: 70
Accepted Solution

Convert dataset to SAS V8 using SAS V9.2

Hi..

Can any one help me, there any ways to generate Dataset with SAS V8 using SAS V9.2 

Client Requirement  is to generate the datasets  with SAS version V8.0. I am having the SAS software of V9.2 and trying to do in many ways with Version SAS V9.2, i can not able to convert dataset to V8 using SAS V9.2..

Can any one help, should be appreciated  

With Best Regards,

Yaswanth


Accepted Solutions
Solution
‎01-04-2013 09:39 AM
Respected Advisor
Posts: 3,124

Re: Convert dataset to SAS V8 using SAS V9.2

Try this:

data have;

i=1;

run;

proc contents data=have;run;/*this will tell you the current default engine SAS is using*/

/*This is to create a V8 library*/

libname v_8 v8 "h:\temp\v8";

/*Do the conversion*/

data v_8.have_v8;

set have;run;

/*To verify the engine of new table as V8*/

proc contents data=v_8.have_v8;run;

Haikuo

View solution in original post


All Replies
Solution
‎01-04-2013 09:39 AM
Respected Advisor
Posts: 3,124

Re: Convert dataset to SAS V8 using SAS V9.2

Try this:

data have;

i=1;

run;

proc contents data=have;run;/*this will tell you the current default engine SAS is using*/

/*This is to create a V8 library*/

libname v_8 v8 "h:\temp\v8";

/*Do the conversion*/

data v_8.have_v8;

set have;run;

/*To verify the engine of new table as V8*/

proc contents data=v_8.have_v8;run;

Haikuo

Trusted Advisor
Posts: 2,113

Re: Convert dataset to SAS V8 using SAS V9.2

Yaswanth,

Haikuo's solution will create SAS V8 formatted data sets; we use it regularly.  If your client's requirement is truly to create the datasets "with SAS V8.0", then you have no choice but to license the old version.  Sometimes people in regulated industries are very specific about the software used as well as the data format.

I don't know of any way to back convert SAS catalogs in V8 (e.g. format libraries), so that may be a gotcha.

Doc Muhlbaier

Duke

Valued Guide
Posts: 2,175

Re: Convert dataset to SAS V8 using SAS V9.2

perhaps there is still the V7 engine which V8.0 should easily be able to read

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 3 replies
  • 307 views
  • 0 likes
  • 4 in conversation