LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (June 2010, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 16 Jun 2010 14:47:57 -0400
Reply-To:     Michael Raithel <michaelraithel@WESTAT.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Michael Raithel <michaelraithel@WESTAT.COM>
Subject:      Re: How to read SAS version 6 dataset XX.ssd01 data in SAS 9?
In-Reply-To:  <788C7F8149137A4699FFC6190286D6533F0A9EBB94@MOO30.us01.apmn.org>
Content-Type: text/plain; charset="us-ascii"

Dear SAS-L-ers,

Lilly Peng posted the following:

> Hi, > > I am trying to convert a SAS V6 dataset xx.ssd01 to SAS V9 dataset > using PC SAS version 9. However, SAS (version 9) tells me that the > library which has XX. ssd01 is empty. Anyone here knows how to handle > it? Thanks a lot!! > > > > libname adata v6 "C:\mydata"; > libname adata9 v9 "c:\newdata"; > proc copy in=adata out=adata9 memtype=data; > run; > > 1131 libname adata v6 "C:\mydata"; > NOTE: Libname ADATA refers to the same physical library as SOURCE6. > NOTE: Libref ADATA was successfully assigned as follows: > Engine: V6 > Physical Name: C:\mydata > 1132 libname adata9 v9 "c:\newdata"; > NOTE: Libname ADATA9 refers to the same physical library as TMP2. > NOTE: Libref ADATA9 was successfully assigned as follows: > Engine: V9 > Physical Name: c:\newdata > 1133 proc copy in=adata out=adata9 memtype=data; > 1134 run; > > WARNING: Input library ADATA is empty. > NOTE: PROCEDURE COPY used (Total process time): > real time 0.01 seconds > cpu time 0.00 seconds

Lilly, I was going to make Joe's very suggestion of using a PROC CPORT/PROC CIMPORT sandwich, but see that it won't work for you. Drat!

Since you have SAS 9.2 which comes with SAS Enterprise Guide, you are in luck. Check out this tech support note:

http://support.sas.com/kb/4/484.html

So, you may be able to program SAS EG to open the data set and write it out to a format that you can use... e.g. CSV or, hey: SAS. Check it out!

Lilly, best of luck in all your SAS endeavors!

I hope that this suggestion proves helpful now, and in the future!

Of course, all of these opinions and insights are my own, and do not reflect those of my organization or my associates. All SAS code and/or methodologies specified in this posting are for illustrative purposes only and no warranty is stated or implied as to their accuracy or applicability. People deciding to use information in this posting do so at their own risk.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Michael A. Raithel "The man who wrote the book on performance" E-mail: MichaelRaithel@westat.com

Author: Tuning SAS Applications in the MVS Environment

Author: Tuning SAS Applications in the OS/390 and z/OS Environments, Second Edition http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=58172

Author: The Complete Guide to SAS Indexes http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=60409

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Probable impossibilities are to be preferred to improbable possibilities. - Aristotle +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Back to: Top of message | Previous page | Main SAS-L page