Skip to main content

SaveMAC

Save the source code for cached query routines.

Synopsis

[SQL]    SaveMAC=n

n is either 1 or 0. The default value is 0.

Description

When SaveMac is enabled (n = 1), the source code (.MAC and .INT) for cached query routines created through Dynamic SQL is saved.

Changing This Parameter

On the SQL page of the Management Portal (System Administration > Configuration > SQL and Object Settings > SQL), select Retain cached query source to enable SaveMac.

To set the desired value for SaveMac from the Terminal, use the SetOption(“CachedQuerySaveSource”)Opens in a new tab method of the %SYSTEM.SQL.UtilOpens in a new tab class. See the class reference for details.

You can also change SaveMac with the Config.SQLOpens in a new tab class (as described in the class reference) or by editing the CPF in a text editor (as described in Editing the Active CPF).

FeedbackOpens in a new tab