Hi All,
I would like to know the process of promoting the environment variables from test environment to production environment. I am assuming we need to write a batch file( I am on windows) to create environment variables in production system.If so, how can pass passwords as encrypted variables through the batch file. It would be great if anyone could provide any guidance. Also, I would like to know if we need to carry out any more procedures( like specifying paths ). I have searched the forum, couldnt come up witha post that meets my requirements.
Note: I do not have administrator priveleges.
Thanks
Kris.
Passing environment variables into production
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 108
- Joined: Sat Feb 05, 2005 6:52 pm
- Location: US
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Project-based environment variables are stored in a text file called DSParams, which is located in the project directory. You can copy DSParams, or relevant lines from it, into DSParams in the production environment (project directory). If you wanted to script this it should be reasonably straightforward for someone competent with whatever scripting language you choose to use.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 108
- Joined: Sat Feb 05, 2005 6:52 pm
- Location: US
-
- Participant
- Posts: 3593
- Joined: Thu Jan 23, 2003 5:25 pm
- Location: Australia, Melbourne
- Contact:
Probably better to build an intelligent copy mechanism of just the user-defined section. You do not want to overwrite parameters such as temp directory locations and you do not want to push development flag settings such as logging into production.
See the FAQ Project specific environment variables as job parameters and for screenshot examples see the blog entry DataStage tip: using job parameters without losing your mind.
See the FAQ Project specific environment variables as job parameters and for screenshot examples see the blog entry DataStage tip: using job parameters without losing your mind.
Certus Solutions
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn