We are heading into a technology refresh - our ETL and database servers are being replaced and also moved to a new building. We will have both our current system and new system available for a few months side by side. As part of our testing and migration/cutover we need to be able to move DataStage datasets from one server to the other.
I believe a simple DataStage (PX) job can read the dataset from one server and write it to the other server (specifying 2 different configs, one for read dataset and one for write dataset). To be honest, I have never tried this so I am making a big assumption here...
The part that is troubling us is how to maintain the correct partitioning key(s) and sort key(s). I cannot find this information using the orchadmin command. Are there any ways to query this from the repository?
Thanks!
Brad.
Query dataset part key(s) and sort key(s)
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I believe that neither sort keys nor partition keys are stored in Data Sets. There is no need; the data are stored however they arrived (partitioned and sorted).
Therefore, I believe, you need to track back to the jobs that created each Data Set and determine from its log which APT_CONFIG_FILE value was used and from the job design which partitioning and sort algorithms/keys were used.
This information would then be used in your new transfer jobs.
Therefore, I believe, you need to track back to the jobs that created each Data Set and determine from its log which APT_CONFIG_FILE value was used and from the job design which partitioning and sort algorithms/keys were used.
This information would then be used in your new transfer 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.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Charter Member
- Posts: 193
- Joined: Tue Sep 05, 2006 8:01 pm
- Location: Australia
Not sure of your requirements but I'll def look at RCP.bcarlson wrote:Bummer. We were hoping for something more dynamic. Grab a dataset, look up its info and write it out.
Oh well. The problem is that we have potentially hundreds out there.
Brad.
Have you thought of using RCP in a generic job to move your datasets?That way you don't have to write hundreds but just one job?