BookmarkSubscribeRSS Feed
nagaraj1991
Obsidian | Level 7

Hi All,

 

I have a log file which resides in meta data server .

i need to import this log file through  sas eg and convert as data set.

But i am not able to access that log file through eg ,,i think by default it check for the file in compute server homefolder .

 

options metaserver = "fcmeta.ca"
metaport = 8561
metauser = "user"
metapass = "xxxxxx "
metarepository = Foundation
metaprotocol = bridge

 

data new;

infile "/home/hed/tataa.log";

-----

-----

run;

 

 

ERROR: Physical file does not exist

 

 

Please let me know how should i proceed .

I am actually new to sas programming ,,So please let me know where i am doing wrong
;

3 REPLIES 3
Kurt_Bremser
Super User

The metaoptions are for connecting to the metadata itself, not for files residing on the machine where the metadata server runs.

Is your workspace server on a machine separate from the metadata server?

nagaraj1991
Obsidian | Level 7

Thanks Kurt for the reply.

We have four servers 

meta 

compute 

mid1

mid2

So when i give my home folder in code  it is checking for the files in  my home folder computer server .

So is there any way i can make it to check my meta data server home folder 

 

I am not sure i  have answered your question .Please let me know is there anything i could elaborate 

 

Kurt_Bremser
Super User

So your workspace server process runs on a machine separate from the metadata server. If you want to read metadata log files, you need some kind of accessto those.

Either have the necessary path from the metadata server mounted on the compute server, or use sftp access (servers should always have a SSH server active).

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 948 views
  • 0 likes
  • 2 in conversation