Date: Fri, 16 May 1997 09:29:18 -0400
Reply-To: Ken Hardy <khardy@FROSTY.IRSS.UNC.EDU>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Ken Hardy <khardy@FROSTY.IRSS.UNC.EDU>
Subject: Re: Conversion of datasets from 6.12 to 6.11
In-Reply-To: <337B6445.1DA0@worldnet.att.net>; from "khardy" at Fri May 16
09:29:18 1997
Content-Type: TEXT/PLAIN; CHARSET="US-ASCII"
Ron Coleman <rcoleman@worldnet.att.net> replied to Mark DeHaan regarding
conversion of SAS V612 datasets for use in SAS V611 as follows.
> You can specify what engine SAS should use to create the datasets in
> a given library on the LIBNAME statement:
>
> LIBNAME NEWER V612 'some-directory-or-file';
> LIBNAME OLDER V611 'some-directory-or-file';
>
> Then you could either create or copy the datasets into V6.11 or V6.12
> format in the appropriate libraries.
>
My understanding is that , as long as your on the same platform, there is _no_
need to convert V612 datasets to use them in V611. A .sd2 windows dataset or a
.ssd01 Unix dataset will work fine in both versions. I think this holds for all
platforms.
Another way of putting it is that V611 and V612 produce datasets with identical
extensions and, therefore, can read each others datasets without conversion. As
a footnote certain Unix .ssd01 datasets are readable across these versions _and_
across platforms. For example, I believe a Sun V611/V612 dataset can be binary
FTP'd to an HP and be read without conversion. Don't believe this is true of
catalogues, however.
To illustrate the point at least for Winx SAS, Let's create a V612 dataset and
read it with V611. The logs and output below tell the story.
Create with V612:
1 libname V612 'f:' ;
NOTE: Libname V612 refers to the same physical library as SASUSER.
NOTE: Libref V612 was successfully assigned as follows:
Engine: V612 <============= Note Engine ===========<<<<<<<<
Physical Name: f:\
2 data v612.test ;
3 do i = 1 to 100;
4 output;
5 end;
6 run;
NOTE: The data set V612.TEST has 100 observations and 1 variables.
NOTE: The DATA statement used 2.02 seconds.
Now let's read it using V611:
1 libname v612 'F:' ;
NOTE: Directory for library V612 contains files of mixed engine types.
NOTE: Libref V612 was successfully assigned as follows:
Engine: V611 <======== V611 used the V611 engine =====<<<<
Physical Name: F:\
2 proc means data=v612.test ; <======== We read the same SAS dataset ===<<<
3 run;
NOTE: The PROCEDURE MEANS used 1.27 seconds.
No problem! We get the following output:
The SAS System 09:14 Friday, May 16, 1997
1
Analysis Variable : I
N Mean Std Dev Minimum Maximum
-----------------------------------------------------------
100 50.5000000 29.0114920 1.0000000 100.0000000
-----------------------------------------------------------
Hope this helps you and others save some time and effort.
*****************************************************************************
* Kenneth A. Hardy | E-Mail: Ken_Hardy@unc.edu *
* Assoc. Director for Information Systems | *
* Institute for Research in Social Science | Voice: 919-966-4791 *
* Manning Hall CB#3355 | *
* University of North Carolina at Chapel Hill | FAX: 919-962-4777 *
* Chapel Hill, NC, USA 27599-3355 | *
*****************************************************************************
* Pursuing leveraged synergy across all technology platforms! *
*****************************************************************************