Alias & Variable Management : ${DMK_HOME}/etc/dmk.conf
The dmk.conf file is split in two sections: GLOBAL and WLS_DOMAIN.
All these steps match to a section from the “${DMK_HOME}/etc/dmk.conf” file. Which are defined by brackets “[…]”, example follows:
[GLOBAL]
##
## WebLogic settings to manually update
##
# location of weblogic software installation
var::WEBLOGIC_BASE::=::nooption::"/u01/app/weblogic"::
var::WEBLOGIC_CNF::=::nooption::"/u01/app/weblogic/local/etc/weblogic_domains.conf"::
# location of weblogic domains
var::MW_CONFIG_HOME::=::nooption::"/u02/app/weblogic/config/"::
##
## below those lines, all environment variables are automatically set
##
# location of weblogic domains definition files
var::WEBLOGIC_DOMAIN_DEF_DIR::=::nooption::"${WEBLOGIC_BASE}/local/etc"::
[WLS_DOMAIN]
alias::cda::var_noforce::'cd ${WEBLOGIC_DOMAIN_HOME}'::
var::WEBLOGIC_DOMAIN_DEF::=::nooption::"${WEBLOGIC_BASE}/local/etc/${WEBLOGIC_DOMAIN}":: # location of weblogic domains definition files
alias::cdc::var_noforce::'cd ${WEBLOGIC_DOMAIN_DEF}'::
The WebLogic section {WLS_DOMAIN] is set specially for the WebLogic Domains environment. If aliases or variables overwrite a defined one from any other section it will be re-initialized by switching to next environment.