BookmarkSubscribeRSS Feed
opossum
Calcite | Level 5
My EG project create a Hundred of TXT files in an Unix directory via EG
2 questions :
1) How can i transfer ( from eg) automatically these files from UNIX to pc by program
2) how could i do the same thing with E mail Filename
Is there any UNIX configuration issue or Windows ?

Thanks in advance
Opossum from France
2 REPLIES 2
Patrick
Opal | Level 21
Hi

1)
You can't unless you have also a local SAS installed (Server "local") and you also shouldn't store such files locally on your PC.
You could store these files on a network drive which is accessible from both UNIX and your PC. Whether that's possible or not depends on how your environment is set up.
You would use a filename with a UNC path and you could try if this works with a network drive already mapped on your PC. Open a dos prompt and issue command "net use". This will show you the UNC syntax for your mapped drives. Use then this UNC path (plus subpath) in the filename statement and see if it works (if the UNIX server also can access this network drive).
It also depends if processes on the SAS Server run with your user credentials or not. So it could happen that you are able to write these files via SAS but then won't be able to read them with your user (by accessing via mapped network drive on your PC).
I would recommend that you give it a go with one file - and if it doesn't work then ask your SAS Admin how to do it.

2) Should be a simple filename with email engine as documented.
Running "Proc Options group=email; run;" will give you the detail how and if email is set-up in your environment.

HTH
Patrick
opossum
Calcite | Level 5
Thenk you much for your quick and clear answer
I will try
t 'ill tell you more
O Possum

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 848 views
  • 0 likes
  • 2 in conversation