Desktop productivity for business analysts and programmers

Reading files

Reply
Frequent Contributor
Posts: 122

Reading files

Hi,

I am using EG to create three large files(10 gigs) which are sitting on a UNIX server.These three files are the input files for the sas job i run on PC SAS.Right now I am copying the file from unix to a network drive and PC SAS reads the file from the network drive.The problem is,copying of file from UNIX to network drive is taking 4 hours.Is there any way I can read files in UNIX from PC SAS with a library name statement?

Please share your thoughts.

Super User
Posts: 3,233

Reading files

Yes, but you need to create a connection between your PC SAS session and your Unix server SAS session first. I am assuming here that SAS is installed also on your Unix server.

SAS has a product called SAS/CONNECT for linking from one SAS session to another remote SAS session. Run PROC SETINIT in SAS to confirm if you have SAS/CONNECT licensed on both PC and Unix.

If you have, then you can SIGNON from your PC SAS session to a Unix SAS session and do what you want. Check the SAS/CONNECT documentation for more details.

Frequent Contributor
Posts: 122

Reading files

Thank you.

Ask a Question
Discussion stats
  • 2 replies
  • 147 views
  • 0 likes
  • 2 in conversation