Using a Configuration File with Changeassistant.bat

You can create a configuration file that contains the parameters and then run the command line using –INI parameter which contains the path to the ini file. For example, if you created an ini file named config.ini in the C:\temp folder, you would run the following command.

changeassistant.bat -INI C:\temp\config.ini

Note: For security reasons, the ini file is deleted immediately after CA has loaded the parameters.

The ini file needs to contain the General parameters and the parameters specific to the action.

Example ini File for Creating an Environment

[GENERAL]
MODE=UM
ACTION=ENVCREATE
OUT=d:\aaa.log
EXONERR=Y

[ENVCREATE]
TGTENV=T2D85501
CT=2
UNI=Y
CA=emdbo
CAP=emdbo123
CO=PTTRN 
CP=PTTRN 
CI=people 
CW=peop1e 
CZYN=N 
SQH=D:\psft\db\oracle-server\12.1.0.2\BIN\sqlplus.exe
INP=All 
PL=PEOPLETOOLS 
IND=ALL 
INL=All 
INBL=ENG 
PSH=D:\PT8.55.04_Client_ORA
PAH=D:\PT8.55.04_Client_ORA
PCH=D:\PT8.55.04_Client_ORA
REPLACE=N

Example ini File for Creating a Change Package

[GENERAL]
MODE=UM
ACTION=CPCREATE
OUT=d:\CREATEPKG4.log
EXONERR=N

[CPCREATE]
UPD=PKG4