Date: Wed, 18 Mar 1998 13:03:03 -0500
Reply-To: "Handsfield, James H." <jhh0@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "Handsfield, James H." <jhh0@CDC.GOV>
Subject: Re: Re[2]: How to use PC SAS datasets in UNIX SAS?
Content-Type: text/plain
Another reason to use PROC CPORT is that catalogs (i.e. formats or
macros) associated with the data set can be included in the transport.
Jim Handsfield
Voice: (770)488-4164
FAX: (770)488-7663
Internet email: jhh0@cdc.gov
> -----Original Message-----
> From: Prasad Ravi [SMTP:pravi@CDICORP.COM]
> Sent: Wednesday, March 18, 1998 12:56 PM
> To: SAS-L@UGA.CC.UGA.EDU
> Subject: Re[2]: How to use PC SAS datasets in UNIX SAS?
>
> If it is not a one time deal I would prefer Creating CPORT file
> -->FTPing-->and Cimporting it, rather than using PROC UPLOAD
> through
> SAS/CONNECT as it is much time efficient, it took me only 4
> seconds to
> FTP a 1.5 MB large file than it took me 70 seconds to UPLOAD the
> same
> file using SAS/CONNECT. However manual it is if the programs are
> already set up to do this process again and again I feel the
> first
> process is much better time saving option.
>
> Who wouldn't want to go home early???
>
>
> Prasad Ravi.
>
>
>
> ______________________________ Reply Separator
> _________________________________
> Subject: Re: How to use PC SAS datasets in UNIX SAS?
> Author: Ramesh Krishnamurthy <rkrish@ASG-INC.COM> at Internet
> Date: 3/18/98 12:37 PM
>
>
> Wang,
> Here's a couple of options:
> Use Proc Cport to create a transport dataset, then using FTP transfer
> =
> the file(s) to unix, then use Proc Cimport to convert the transfer
> file =
> into a SAS dataset that can be used in the Unix environment. Note:
> When =
> using FTP transfer the file as a "Binary".
> The second option would require you having SAS/Connect:
> First connect on to the unix box using SAS Connect. Then use Proc =
> Upload to upload the files to Unix. This may be a better solution if =
> you have large files and need saves the burden of creating transport =
> files manually.
> Hope this helps
> Ramesh
> ASG Inc.
>
> -----Original Message-----
> From: Yize Wang [SMTP:wang48@WHARTON.UPENN.EDU]
> Sent: Wednesday, March 18, 1998 12:29 PM
> To: SAS-L@UGA.CC.UGA.EDU
> Subject: How to use PC SAS datasets in UNIX SAS?
>
> My data arrive as PCSAS datasets but I need to analyze them in UNIX =
> SAS.
> One solution I can think of is to output them into a ASCII file and =
> later
> read it using UNIX SAS. I guess there must be some better ways to do =
> it. Or
> can anybody provide a sample program to carry out this function?
>
> Thanks.
>
> --
> Yize Wang
> Department of Health Care Systems
> University of Pennsylvania
> 3641 Locust Walk
> Philadelphia, PA 19104-6218
|