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..?
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.
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
Tools > options > administration
should show you your current settings.
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.
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.
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.