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.
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.