Renaming a Project

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

via
Premium Member
Premium Member
Posts: 118
Joined: Fri Sep 23, 2005 3:10 pm

Post by via »

Thanks chulett.
Even before seeing your post, I retyped all the env variables in the new project :x .
Thanks again
Via
I_Server_Whale
Premium Member
Premium Member
Posts: 1255
Joined: Wed Feb 02, 2005 11:54 am
Location: United States of America

Post by I_Server_Whale »

Hi,

Environment variables are not included when export/import. You have to save the DSParams file in the old project. And once you create a new project by importing the .dsx file, you just have to copy the DSParams file back to your new project directory.

It will replace the existing DSParams file with the original one that you had saved. This way you will still have all your Environment variables intact.

Thanks!
Naveen.
lax
Participant
Posts: 12
Joined: Fri Oct 29, 2004 2:56 am

Post by lax »

chulett wrote:
via wrote:Is there some thing i am missing to do for importing the Environment variables while doing whole project import?
Yes

copy the DSParam file from your Old project and place it in the new project . :lol:

lax
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I really don't understand why people feel the need to come and post the exact same answer that's already been posted. Sometimes multiple times. :?

And in case it was too subtle or something, my one word answer was (and still is, even in the quote) a URL link to a post asking the same question with an explaination of how to fix it - both the 'easy' way and the 'safe' way.
-craig

"You can never have too many knives" -- Logan Nine Fingers
via
Premium Member
Premium Member
Posts: 118
Joined: Fri Sep 23, 2005 3:10 pm

Envi pointing to the old parameters even after chaning

Post by via »

Hello every one thanks for the reply,
I manually typed in all the Userdef environmetal variables for the new project i imported. Even after doing this i see OLD parameters in the "JOBS" that are pointing to the old DNS,passwords,users...etc . Even if i change to the new one there in the job, they are going back to the OLD parameters! (Some sort of default values). I went like this
1. Exported from Producation as dsx
2. Imported to a new project in Devlopment
3. Manually typed in all the evironment variables to the Development servers.

Can some one help me out in this.

Thanks again,
Via
I_Server_Whale
Premium Member
Premium Member
Posts: 1255
Joined: Wed Feb 02, 2005 11:54 am
Location: United States of America

Post by I_Server_Whale »

Hi Via,

Go to job properties of your jobs in DEV and then to "parameters" and then add the environment variables by clicking the "Add Environment Variables" button.

When you add them, check whether they show up the same default values that you assigned in the administrator.

Let me know if you have any questions.

Thanks,
Naveen.
via
Premium Member
Premium Member
Posts: 118
Joined: Fri Sep 23, 2005 3:10 pm

Post by via »

Thanks naveen and other folks, thanks
chanaka
Premium Member
Premium Member
Posts: 96
Joined: Tue Sep 15, 2009 4:06 am
Location: United States

Post by chanaka »

Well, in a similar situation, I manually edited the DSParams file for the new project and copied the entries from previous project DSParams file, which was successful.

Cheers!
Chanaka Wagoda
ayan
Participant
Posts: 64
Joined: Fri Oct 23, 2009 4:09 am

Post by ayan »

I have a related query.....if I migrate a job where I have added an environment variable,will the environment variable also be migrated along with the job? Or I have to create that environment variable separately in the target project?
Ayan
ayan
Participant
Posts: 64
Joined: Fri Oct 23, 2009 4:09 am

Post by ayan »

I have a related query.....if I migrate a job where I have added an environment variable,will the environment variable also be migrated along with the job? Or I have to create that environment variable separately in the target project?
Ayan
ayan
Participant
Posts: 64
Joined: Fri Oct 23, 2009 4:09 am

Post by ayan »

sorry folks...after going through the whole thread..I find my question already answered! :)
Ayan
Post Reply