Hello Have been using SAS university edition for the past year or so, but needed to use proc autoreg for a project and so upgraded to Viya. I'm used to SAS base where I have it from virtual desktop. Getting a libname error on sas now and not sure how to proceed. Here's the code i'm trying to run. Help is appreciated. data main; input year injury1 injury2 time program time_after; cards; 2002 8950 7760 0 1 0 2003 10622 8992 0 2 0 2004 10125 7345 0 3 0 2005 11190 9288 0 4 0 2006 12890 11409 0 5 0 2007 14012 10639 0 6 0 2008 17600 12025 0 7 0 2009 17372 16523 1 8 1 2010 22513 23685 1 9 2 2011 26540 20807 1 10 3 2012 28673 26761 1 11 4 2013 32590 26454 1 12 5 2014 28005 24184 1 13 6 ; run; proc autoreg data=main outest=main_out_parm; Model injury1 = time program time_after/ method=ml nlag=6 backstep dwprob loglikl; output out=main.out p=pvar r=rvar; run; proc print data = main; run; 1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; 75 76 77 data main; 78 input year injury1 injury2 time program time_after; 79 cards; NOTE: The data set WORK.MAIN has 13 observations and 6 variables. NOTE: DATA statement used (Total process time): real time 0.00 seconds cpu time 0.00 seconds 93 ; 94 run; 95 proc print data = main; 96 run; NOTE: There were 13 observations read from the data set WORK.MAIN. NOTE: The PROCEDURE PRINT printed page 33. NOTE: PROCEDURE PRINT used (Total process time): real time 0.01 seconds cpu time 0.02 seconds 97 98 99 proc autoreg data=main outest=main_out_parm; NOTE: PROCEDURE AUTOREG used (Total process time): real time 0.00 seconds cpu time 0.00 seconds ERROR: Library MAIN does not exist. NOTE: The SAS System stopped processing this step because of errors. WARNING: The data set WORK.MAIN_OUT_PARM may be incomplete. When this step was stopped there were 0 observations and 0 variables. WARNING: Data set WORK.MAIN_OUT_PARM was not replaced because this step was stopped. 100 Model injury1 = time program time_after/ 101 method=ml nlag=6 backstep dwprob loglikl; 102 output out=main.out p=pvar r=rvar; 103 run; 104 105 proc print data = main; 106 run; NOTE: There were 13 observations read from the data set WORK.MAIN. NOTE: The PROCEDURE PRINT printed page 34. NOTE: PROCEDURE PRINT used (Total process time): real time 0.01 seconds cpu time 0.01 seconds 107 108 109 110 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; 123
... View more