Hi
when I am using the below code. Its giving error : File does Oct_Dec_Data not exist.
data login_oct_dec;
set Login_old;
set 'Oct_Dec_Data'n;
run;
The file file is imported from excel and the 1st is the data set created from another program.
However, when I am running the code in a separate program window:
data login_oct_dec;
set 'Oct_Dec_Data'n;
run;
There is no error and the data is created successfully.
Please help.
Actually I am running it on VDI where I can not copy or snip any thing.
@anandmgjsa wrote:
Hi
when I am using the below code. Its giving error : File does Oct_Dec_Data not exist.
data login_oct_dec;
set Login_old;
set 'Oct_Dec_Data'n;
run;
The file file is imported from excel and the 1st is the data set created from another program.
However, when I am running the code in a separate program window:
data login_oct_dec;
set 'Oct_Dec_Data'n;
run;
There is no error and the data is created successfully.
Please help.
What do you mean by "separate program window"?
Using a one level name (no library) means the data is likely in the WORK library. However two separate SAS sessions of any type will almost certainly not have the same location for the WORK library.
Permanent libraries, if the libname points to the same location for the appropriate session, the data should be there but not Work.
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: