06-09-2015 05:26 PM
I am trying to import a text file proc import in EG. The issue is that SAS isn't able to locate the the client machine where the file actually sits. I've tried the following code in Exhibit 1 using the server option, but I don't think that is vali in proc import. I also tried to import the file using infile (see Exhibit 2). Still uses referencing the location of the file so SAS knows where to point to. Any suggestions? Thank you so much!!
Exhibit1: proc import with server =
Exihibit 2: Referencing file using infile
hicn $ 12
consumer_point_of_sale $ 18
agent_point_of_sale $ 1
hicn = "HICN"
consumer_point_of_sale = "Consumer Point Of Sale"
agent_point_of_sale = "Agent Point Of Sale"
hicn : $CHAR12.
consumer_point_of_sale : $CHAR18.
agent_point_of_sale : $CHAR1.
06-10-2015 01:48 AM
If the file "sits" on another system than the one that runs SAS, you need one of many mechanisms to access files on the remote (remote from the POV of SAS) system:
- shared network volumes on file servers
- direct share of volumes (eg with nfs)
- SAS/CONNECT if both machines have SAS installed and CONNECT is licensed
If you have separate systems, how do they communicate/share data?