Dear ,
I am trying to invoke DFTEST macro which is one of the inbuilt macro in SAS but get the following error. Please help to resolve further.
WARNING: Apparent invocation of macro DFTEST not resolved.
Regards
Mark
If you are running SAS on Windows then the macro should be under the ets folder.
....\SASFoundation\9.4\ets\sasmacro\dftest.sas
On Unix they are usually all put into the single sasautos folder.
.../SASFoundation/9.4/sasautos/dftest.sas
This macro is from 1987. Why not just use DF test build into AUTOREG?
How do you have the SASAUTOS and MRECALL options set?
Do you have SAS/ETS licensed and installed?
Thank you Tom for helping out. My account setup is normal. Others in my line of work can execute %dftest normally, except me. So, I believe the default options and license are taken care already.
I have also included the line options mautosource ; and then tried to execute %dftest and still get same message
WARNING: Apparent invocation of macro DFTEST not resolved.
Could you help in any other way such as to check for the physical existence of the definition of this macro in any sas program that comes inbuilt at the installation.
Thank you.
Do you share a server with the other users, or do you work with individual SAS installations?
Yes Kurt, I am working on shared server - Solaris 9.3
Things I would look at
- same workspace server?
- individual config/autoexec files?
- code executed automatically in/from EG?
- SAS/CONNECT involved?
If you are running SAS on Windows then the macro should be under the ets folder.
....\SASFoundation\9.4\ets\sasmacro\dftest.sas
On Unix they are usually all put into the single sasautos folder.
.../SASFoundation/9.4/sasautos/dftest.sas
This macro is from 1987. Why not just use DF test build into AUTOREG?
If this helps, SAS/ETS(R) 9.2 User's Guide .
"Note that the %DFTEST macro has been superseded by the PROC ARIMA stationarity tests. See Chapter 7, The ARIMA Procedure, for details."
Hi jwillis, I get the statement, however I am on a shared server with other users, I want to open a new session and execute the inbuilt macro but cannot execute any of them.
Thank you very much Tom, Kurt, jwillis for your help.
My colleagues were out of office now and I couldnt catch up with them for the correct port number to select at login ; so had to check manually on this.
Yes, there were two versions of SAS (9.2 , 9.3 ) on the same server ; the sasautos folder of 9.3 was missing with the programs dftest and dfpvalue. My colleagues were using 9.2
Anyways, I had a chance to learn something new today.
Have a nice day ahead !!
- Mark
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.