Table duplication

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

Post Reply
Anand K
Participant
Posts: 17
Joined: Thu Nov 20, 2003 7:19 am

Table duplication

Post by Anand K »

Hi All

I have to create/replicate some tables from one schema to another.
There are no stages between the Source Oracle stage and the Target Oracle stage

If there are 10 tables I am creating 10 different jobs for the same.
Please let me know if there is a work around for the same like parameter substitution or anything of that sort...
Also the structure varies from table to table.

Thanks in advance

Anand K
rasi
Participant
Posts: 464
Joined: Fri Oct 25, 2002 1:33 am
Location: Australia, Sydney

Post by rasi »

You can't change the metadata dynamically and execute multiple times with different parameter. The best thing is to create sql files and call from datastage by passing parameters

Siva
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

This is an example where DataStage is probably unnecessary. Use Oracle bulk unloader to unload to stdout, and pipe that result to Oracle bulk loader to load from stdin.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply