Hello SAS community, i observed that despite suceesfully creating a permanent library for my dataset (the file gets saved in it too), when i work with the dataset e.g keep only some variables, my new dataset gets stored in the work folder and not my permanent library. What can i do please? this is the program i used to create a new library *CONVERTING MEPS DATA TO SAS FORMAT; LIBNAME WEEK2 'C:\Users\HP SPECTRE\Documents\My SAS work\MEPS15'; FILENAME HI81 'C:\Users\HP SPECTRE\Documents\My SAS work\H181SSP\H181.SSP'; PROC XCOPY IN=HI81 OUT=WEEK2 IMPORT; RUN; after this, the data H181 appears in my WEEK2 folder in SAS but if i work on the file e.g keep so variables DATA KEEP; SET WEEK2.H181; KEEP dupersid age15x sex region15 racethx cpsfamid famid15; RUN; the output is saved in my work folder not the WEEK2 library, this is the log: DATA KEEP; 548 SET WEEK2.H181; 549 KEEP dupersid age15x sex region15 racethx cpsfamid famid15; 550 RUN; NOTE: There were 35427 observations read from the data set WEEK2.H181. NOTE: The data set WORK.KEEP has 35427 observations and 7 variables. NOTE: DATA statement used (Total process time): real time 0.51 seconds cpu time 0.37 seconds i expect that it should get saved in the WEEK2 library i created, not the work folder. can anyone please help with this? thanks
... View more