The procedure checks that the variable name has the prefix IDM_. This ensures that you change only variables specific to Intelligent Miner.
If value is NULL, the variable with the name variable is removed from the environment of the process.
CALL IDMMX.DM_setEnv('IDM_MX_ERRORFILE', '/tmp/myerrors.log')
The error file is set to its default value: CALL IDMMX.DM_setEnv('IDM_MX_ERRORFILE', NULL)
Cached models can be of type pinned or unpinned. The variable IDM_MX_MAX_OPEN_MODELS controls the number of unpinned models in the cache only. Models implicitly loaded into the cache using an apply UDF are always unpinned. They can be removed from the cache at any time if a new model needs cache space. Pinned models must be explicitly inserted into and removed from the cache. For more information refer to the function DM_openModel.
CALL IDMMX.DM_setEnv( 'IDM_MX_MAX_OPEN_MODELS', '3');With this call, the models are not stored in the cache:
CALL IDMMX.DM_setEnv( 'IDM_MX_MAX_OPEN_MODELS', '0');