I am attempting to create a stored process on a SAS server. Part of this process includes importing new data from a local computer. My SAS system has a default path through the server which is preventing me from directing the import to use the local computer. I have tried to deassign the server libname with no success.
I have tried it several different ways and I don't know which method is closest to correct. Generally, when I manually import a file, EG3 puts the following line into my log:
File #LN00009 is created when I manually import a DAT file, but I want to be able to refresh the original DAT file and have the stored process import the new DAT file. When I attempted deassigning the libref and placing a new libref from my local computer, I get an error message:
ERROR: Physical file does not exist, /usr/local/sas91/SAS/Lev1/EUCE/C:\Documents and
When you run import wizards in Enterprise Guide, it can "see" your PC and pick up the data. Unfortunately when you run the code as a Stored Process it's running on the Unix server, which doesn't know about your PC.
We work around this by 1st FTPing the data to the Unix server and then using an INFILE statement to read it.