Page 1 of 1

Copying [EnvVarValues] of DSParams Unsuccesful

Posted: Wed Nov 30, 2005 9:44 am
by adarsh shrinagesh
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

Posted: Wed Nov 30, 2005 1:40 pm
by adarsh shrinagesh
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

Posted: Wed Nov 30, 2005 4:25 pm
by vmcburney
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.