Table Definition -> Schema File

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
gsherry1
Charter Member
Charter Member
Posts: 173
Joined: Fri Jun 17, 2005 8:31 am
Location: Canada

Table Definition -> Schema File

Post by gsherry1 »

What is the quickest way to obtain a schema file definition given a table definition from DataStage Repository using command line interface?

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

Post by ray.wurlod »

The quickest way will involve about a month's worth of research into the internal structure of the DS_METADATA table and how to translate this into a schema.

You really don't want to do it from the command line. (I'm not asking.)

Much easier is to look at the table definition using the Manager or the Repository view in Designer. Go to the layout tab and you can view the table definition in "standard" (SQL) format, COBOL format or schema format.

After all, you are looking at the same metadata; the tool simply presents it in different ways.

Copy and paste the schema definition.
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