BookmarkSubscribeRSS Feed
mjack
Calcite | Level 5

Hi ,

When I run a simple program from windows  EG to create a test file:

data _null_ ;

File 'c:\myfolder\tstfil.txt' DLM=',' ;

PUT 'Name' 'Age' 'Gender' ;

run ;


While do I get follwoing message in log:

NOTE: The file "C:\myfolder\tstfil.txt" is:

      File Name=/opt/sas/txn/Levmn2/SASAIX/C:\myfolder\tstfil.txt,

      Owner Name=sas,Group Name=sas,

      Access Permission=rw-------  

why a unix folder path '/opt/sas/txn/Levmn2/SASAIX'  automatically gets appended before the windows filepath....?

Can someone help..?

4 REPLIES 4
DBailey
Lapis Lazuli | Level 10

Sounds like you're not using a local SAS engine but rather EG connecting to a unix box.  True?

If that's the case, the SAS doesn't actually know much about your local computer.  EG can interact with it, but you would have to do things like "Export as step in project" rather than coding a data step directly.

mjack
Calcite | Level 5


Thanks DBailey for the reply.

But how do I find if EG is connecting to a unix box...   IS there any parameter setting   by looking at which I will know that  its connecting to the Unix box?

Or

how do I use a local sas engine...    do i need to change any settings for that.....?

Thanks in advance

DBailey
Lapis Lazuli | Level 10

Tools > options > administration

should show you your current settings.

kij23
Calcite | Level 5

Ideally your SAS is accessed through a unix server, If you do not have a local SAS intalled you cannot do much.

Try to get this file to unix server and give that path.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 4 replies
  • 641 views
  • 0 likes
  • 3 in conversation