Hi
We are using Environment variables in out project and are testing copying these variable between projects.
This is the Sequence of Steps we've been following
>Create new Project ABC
>Copy DSParams from current prj directory XYZ to ABC
>Copy DSParams in ABC to DSParams.keep
Check Creation of Project wide User Defined Environment variable
=Success
However
>Create new Project ABC
>Copy [EnvVarValues] section from DSParams file of XYZ to DSParams file of ABC
>Copy DSParams in ABC to DSParams.keep
Check Creation of Project wide User Defined Environment variable
=Failure
Any ideas? I cannot use the method of copying the entire DSParams file coz our pre-prod and Prod environs are on varying Platforms
Copying [EnvVarValues] of DSParams Unsuccesful
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 68
- Joined: Sat Feb 05, 2005 4:59 am
- Location: India
-
- Premium Member
- Posts: 68
- Joined: Sat Feb 05, 2005 4:59 am
- Location: India
Dough!
Was copying the wrong segment
was copying only the section below [EnvVarValues] which is used "If I'm not wrong" to set default values instead of
userdef\User Defined\-1\String\\0\Project\userdef\
which actually defines the variable acc to
<EnvVarName>
<Category>
<JobType>
<Type>
<Default> etc
Was copying the wrong segment
was copying only the section below [EnvVarValues] which is used "If I'm not wrong" to set default values instead of
userdef\User Defined\-1\String\\0\Project\userdef\
which actually defines the variable acc to
<EnvVarName>
<Category>
<JobType>
<Type>
<Default> etc
-
- Participant
- Posts: 3593
- Joined: Thu Jan 23, 2003 5:25 pm
- Location: Australia, Melbourne
- Contact:
Well done. It is a tricky little business copying sections of DSParams. Do a search check on a parameter name and make sure it is not duplicated. If you get the copy wrong the DS Administrator tool can end up duplicating a section and it becomes difficult to make changes.
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