Copying job parameters
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 1044
- Joined: Wed Sep 29, 2004 3:30 am
- Location: Nottingham, UK
- Contact:
Copying job parameters
Is there a way of copying a load of parameters from one job to another? Personally, I would export the jobs as XML and copy and paste the appropriate sections, but my colleague is not entirely confident with that approach.
Phil Hibbs | Capgemini
Technical Consultant
Technical Consultant
-
- Premium Member
- Posts: 70
- Joined: Thu Aug 14, 2003 6:24 am
- Contact:
Re: Copying job parameters
PhilHibbs wrote:Is there a way of copying a load of parameters from one job to another? Personally, I would export the jobs as XML and copy and paste the appropriate sections, but my colleague is not entirely confident with that approach.
If you know how Datastage writes DSX files, you can copy and paste relavent sections and import as new job etc... Other wise your job will end-up with UV database with wrong entries and causes serious problem.
Last edited by s_boyapati on Tue Jan 25, 2005 6:36 am, edited 3 times in total.
Sure, look at Parameter Manager offered by this forums owners, or even use the hack job I wrote at my website. There's lots of utilities available but not from Ascential.
Kenneth Bland
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
-
- Premium Member
- Posts: 70
- Joined: Thu Aug 14, 2003 6:24 am
- Contact:
In your source job, delete everything except the parameters and "Save As" "ParameterTemplate" or some other name of your choice.
Copy ParameterTemplate to TargetJobInitial.
Open both your target job and TargetJobInitial.
In your target job do a "Select All" and a "Copy".
In TargetJobInitial, do a "Paste" and save as you new target job. Or save, copy, rename, etc.
Not very sophisticated, but it works.
Larry
Copy ParameterTemplate to TargetJobInitial.
Open both your target job and TargetJobInitial.
In your target job do a "Select All" and a "Copy".
In TargetJobInitial, do a "Paste" and save as you new target job. Or save, copy, rename, etc.
Not very sophisticated, but it works.
Larry
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
At sites where I am the team leader, we use job templates as much as possible. Almost the first things set up are jobs containing the full set of standard parameters. Any job created from such a template can delete any parameters it does not actually require.
This method has the additional advantage that parameters are always defined in the same way using the same name, same prompt text, same type and same help text.
Parameter Manager for DataStage is also a good tool, particularly if you need to retrofit parameters into jobs.
This method has the additional advantage that parameters are always defined in the same way using the same name, same prompt text, same type and same help text.
Parameter Manager for DataStage is also a good tool, particularly if you need to retrofit parameters into jobs.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.