Page 1 of 1

How to change the value for the $APT_config_file

Posted: Tue May 20, 2008 11:20 pm
by vij
Hi all,

We have to deploy the code to production environment soon. The problem is - in the stage environment where we have the code currently, the value for the $APT_CONFIG_FILE parameter has the server name along with the path, eg., /server name/apps/Ascential/......../default.apt is the value.

Now, we have more than 200 jobs, we can't go and change each and every $APT_CONFIG_FILE value in stage environment. Is there any way to change the value of the $APT_CONFIG_FILE parameter with out doing changes in each and every job?

Thanks,
Vij

Posted: Tue May 20, 2008 11:49 pm
by keshav0307
if you have defined the parameter $APT_CONFIG_FILE then you can pass the new value at run time.

else export all jobs in a file, and then global find and replace teh value for $APT_CONFIG_FILE, and inport in new environment

Posted: Wed May 21, 2008 12:38 am
by vij
Hi keshav0307 ,

Thanks for your reply. We run jobs from the script. I will try your second workaround.

Posted: Wed May 21, 2008 6:08 am
by Govindarajan
In environment variable please pass the value against APT_CONFIG_FILE.