Load and Unload Locales

You need to load and unload locales to run data-cleansing programs in SAS. Conversely, you do not need to load locales if your SAS programs run jobs and services on a DataFlux Data Management Server.
Before you run data-cleansing programs in SAS, load locales into memory as described in %DQLOAD AUTOCALL Macro. Use the DQSETUPLOC= option to specify the location of the Quality Knowledge Base. Use the DQLOCALE= option to specify an ordered list of locales.
The order of locales in the locale list is pertinent only when one of the following conditions is true:
  • A locale is not specified by name.
  • The specified locale is not loaded into memory.
  • Input data is insufficient for the DQLOCALEGUESS function.
If a locale cannot be established, SAS searches the list of locales. SAS references the first definition it finds that has the specified name. Use the DQLOCALEGUESS Function to determine the best locale for that data.
You can change the values of the system options DQSETUPLOC= and DQLOCALE=; however, doing so does not load different locales into memory. For this reason, it is recommended that you use the %DQLOAD AUTOCALL Macro to change the values of the two data quality system options.
If you change locale files in the Quality Knowledge Base using the DataFlux Data Management Studio software, you must reload macros into memory with the %DQLOAD AUTOCALL macro before cleansing data.
After you submit your data-cleansing programs, you can unload the locale from memory by using the %DQUNLOAD AUTOCALL Macro.
New locales, and updates to existing locales, are provided periodically by DataFlux in the form of a new Quality Knowledge Base. You can download Quality Knowledge Bases from the MyDataFlux Portal at the DataFlux Web site: http://www.dataflux.com/MyDataFlux-Portal.aspx.