*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* * Imports transportable SAS datasets * * created by COPY on the UNIX system * *-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*; libname in SASV5XPT 'd:\temp\ny93_103\ny93_103.xpt'; libname out 'd:\temp\ny93_103'; *** windows/UNIX output; *libname out v603 'r:\int\ag\int\88'; *** dos output; proc copy in = in out = out; run; ***************************************************************; * Here some more explicit instructions for "unpacking" ..... *; * *; * *; * 1. Put the .XPT file somewhere on your PC or workstation. *; * 2. Edit the "in" libname to point to that specific FILE. *; * 3. Choose one of the "out" libnames (Windows/UNIX or DOS) *; * and comment out the other, or delete it. *; * 4. Edit the "out" libname to point to the DIRECTORY where *; * you want the unpacked SAS datasets to go. *; * 5. Leave the PROC COPY as it is. *; * 6. Run it. *; * 7. The program may take a while to run with large datasets, *; * but the trip files shouldn't take too much time. *; * 8. Now you can go ahead and use the SAS datasets in the *; * "out" directory. *; * *; * NOTE: we can provide code to read/write large datasets *; * to tape for transport to other systems. *; ***************************************************************;