DATA Step, Macro, Functions and more

%dftest macro invocation issue

Accepted Solution Solved
Reply
Contributor
Posts: 31
Accepted Solution

%dftest macro invocation issue

 

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


Accepted Solutions
Solution
‎03-31-2015 08:30 AM
Super User
Super User
Posts: 7,039

Re: %dftest macro invocation issue

Posted in reply to MarkNicholas

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?

http://support.sas.com/documentation/cdl/en/etsug/63348/HTML/default/viewer.htm#etsug_autoreg_sect03...

View solution in original post


All Replies
Super User
Super User
Posts: 7,039

Re: %dftest macro invocation issue

Posted in reply to MarkNicholas

How do you have the SASAUTOS and MRECALL options set?

Do you have SAS/ETS licensed and installed?

Contributor
Posts: 31

Re: %dftest macro invocation issue

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.

Super User
Posts: 7,762

Re: %dftest macro invocation issue

Posted in reply to MarkNicholas

Do you share a server with the other users, or do you work with individual SAS installations?

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Contributor
Posts: 31

Re: %dftest macro invocation issue

Posted in reply to KurtBremser

Yes Kurt, I am working on shared server - Solaris 9.3

Super User
Posts: 7,762

Re: %dftest macro invocation issue

Posted in reply to MarkNicholas

Things I would look at

- same workspace server?

- individual config/autoexec files?

- code executed automatically in/from EG?

- SAS/CONNECT involved?

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Solution
‎03-31-2015 08:30 AM
Super User
Super User
Posts: 7,039

Re: %dftest macro invocation issue

Posted in reply to MarkNicholas

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?

http://support.sas.com/documentation/cdl/en/etsug/63348/HTML/default/viewer.htm#etsug_autoreg_sect03...

Regular Contributor
Posts: 217

Re: %dftest macro invocation issue

Posted in reply to MarkNicholas

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."

Contributor
Posts: 31

Re: %dftest macro invocation issue

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.

Contributor
Posts: 31

Re: %dftest macro invocation issue

Posted in reply to MarkNicholas

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  Smiley Happy

Anyways, I had a chance to learn something new today.

Have a nice day ahead !!

- Mark

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 9 replies
  • 328 views
  • 3 likes
  • 4 in conversation