I try to use proc print to make a table of the data and it runs and produces the table but it give the error that work.p2_data does not exist. I have imported the data with lib name and am getting the error "Table needs to have at least one column. I imported the sas7bat file and it ran without any errors. LIBNAME p2 "/home/u59418563/sasuser.v94/"; DATA p2_data; SET "/home/u59418563/sasuser.v94/p2.sas7bdat"; RUN; /*Five other explanatory variables: ALC_DAY AGEGROUP MARITAL HLTHPLN1 MEDCOST*/ PROC PRINT; VAR ADDEPEV3 SLEPTIM1 ALC_DAY AGEGROUP MARITAL HLTHPLN1 MEDCOST; DATA p2_data; RUN; PROC SQL outobs=10; create table work.p2_data as select * from work.p2_data; quit;
... View more