Copying [EnvVarValues] of DSParams Unsuccesful

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
adarsh shrinagesh
Premium Member
Premium Member
Posts: 68
Joined: Sat Feb 05, 2005 4:59 am
Location: India

Copying [EnvVarValues] of DSParams Unsuccesful

Post 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
adarsh shrinagesh
Premium Member
Premium Member
Posts: 68
Joined: Sat Feb 05, 2005 4:59 am
Location: India

Post 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
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post 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.
Post Reply