DATA Step, Macro, Functions and more

autocall on UNIX

Reply
Occasional Contributor
Posts: 5

autocall on UNIX

Hello,

Could someone help me figure out how to setup autocall on UNIX?

I have macros stored in 2 directories and the include file contains:

----------------------------------------------------------------------------------------------
options ls=80 mprint mlogic symbolgen;

options compress=binary;

filename macsrc '/projects/maclib/';
filename macgen '/projects/maclib/common/';
options mautosource SASAUTOS=(macsrc macgen SASAUTOS);

-----------------------------------------------------------------------------------------------

When execute macro, I got the error:
ERROR 180-322: Statement is not valid or it is used out of proper order.^MERROR 180-322: Statement is not valid
or it is used out of proper order.^MERROR 180-322: Statement is not valid or it is used out of proper order.

and
WARNING: No logical assign for filename SASAUTOS.
WARNING: Source level autocall is not found or cannot be opened. Autocall has
been suspended and OPTION NOMAUTOSOURCE has been set. To use the
autocall facility again, set OPTION MAUTOSOURCE.
WARNING: Apparent invocation of macro SELECTBETWDATES not resolved.


SELECTBETWDATES is a macro

Any help and/or suggestion are much appreciated.

Thank you.
Super Contributor
Super Contributor
Posts: 3,174

Re: autocall on UNIX

You need to share all of your executed code (specifically as revealed in the SAS-generated log), not just selective code-pieces, ideally pasted just like it comes out of the SAS log output window (or batch log file).

Scott Barry
SBBWorks, Inc.
Valued Guide
Posts: 634

Re: autocall on UNIX

We will also need to know if you are running a batch or interactive program.
Occasional Contributor
Posts: 5

Re: autocall on UNIX

Thank you all.

I figured out the problem. I have to change the options statement to

options mautosource SASAUTOS=(macsrc macgen '!SASROOT/sasautos');
Ask a Question
Discussion stats
  • 3 replies
  • 145 views
  • 0 likes
  • 3 in conversation