Copying Project parameters
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 1044
- Joined: Wed Sep 29, 2004 3:30 am
- Location: Nottingham, UK
- Contact:
Copying Project parameters
I have been merrily copying job parameters around by doing an XML export, but how do I do the same for user-defined project variables?
Phil Hibbs | Capgemini
Technical Consultant
Technical Consultant
Hi,
I think you'll need to update/insert data in the repository for that one.
I believe a search here should get results with some relevant code, or as already siad in this forum a unsupported/advised hack via trace to get the commands performed when manually performing the task.
I wonder if Kim's (AKA kduke in this forum) products can do this? (parameter manager and dwnav)
IHTH,
I think you'll need to update/insert data in the repository for that one.
I believe a search here should get results with some relevant code, or as already siad in this forum a unsupported/advised hack via trace to get the commands performed when manually performing the task.
I wonder if Kim's (AKA kduke in this forum) products can do this? (parameter manager and dwnav)
IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
-
- Participant
- Posts: 64
- Joined: Fri Jul 16, 2004 7:53 am
Job parameters are always Project specific i.e is Environment Specific.. parameters will be different for development Env compare to Production Env.. one of the way to reslove this is using some tool(I am not sure which tool.. probalby some expert can help you in that).. or we can use the option what we use in our project...we use a hash file where we have key and value.. the values are the environment specific values (for eg.Database connection details..directory details)..this hashfiles will have all the job parameters..this need to be loaded before you start executing the jobs... also this is specific to env.. so you just have to modify the file based on the environment...you need to write a routine to the get the values from this hash file...i hope this information may be useful for you..
-
- Premium Member
- Posts: 1044
- Joined: Wed Sep 29, 2004 3:30 am
- Location: Nottingham, UK
- Contact:
I did, but the post contained two questions, and I only got answers to the second. I thought it was worth trying again.chulett wrote:I have a very strong sense of Deja Vu working right now. Didn't you post this very same question only a few days ago, Phil?
Yes, but the parameter names will be the same in the production environment as in development, and many of the values will be similar. Having to re-type everything when we create a new project environment is very tedious, even if it only has to be done two or three times.sudharsanan wrote:Job parameters are always Project specific i.e is Environment Specific.. parameters will be different for development Env compare to Production Env..
Phil Hibbs | Capgemini
Technical Consultant
Technical Consultant
-
- Premium Member
- Posts: 1044
- Joined: Wed Sep 29, 2004 3:30 am
- Location: Nottingham, UK
- Contact:
I have now answered my own queston. The settings are stored in DSParams in the project directory. There are two parts: one in the [EnvVarDefns] section, which stores the properties of the parameter such as data type and prompt, and one in the [EnvVarValues] section that stores the values.
Phil Hibbs | Capgemini
Technical Consultant
Technical Consultant