Selecting columns using job parameters

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Chuah
Participant
Posts: 46
Joined: Thu May 18, 2006 9:13 pm
Location: Melbourne

Selecting columns using job parameters

Post by Chuah »

Needing to create a generic datastage job that can dynamically source from and load to a number of columns based on a set of job parameters.

Is there a way to specify which columns to import (and how many) based on job parameters?

e.g. of different source tables:

ID, Ts, Te, Firstname, Surname

ID, Ts, Te, Street, Suburb, Country


I've read a little about schema's to dynamically specify input... maybe?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Welcome aboard. :D

Basically the answer is no. DataStage is metadata driven; the metadata (column definitions) need to be in place before the job is compiled.

Some people have implemented strategies to get around this, which you can read about by searching the forum. But there is nothing "out of the box" that can do what you ask.
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