Get column names from command line using stage name/link nam

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Get column names from command line using stage name/link nam

Post by zulfi123786 »

Hi ,

I am need to get column names using job name, stage name & link name.

The column definitions could be imported into the stage using table definitions or hand coded.

tried the dsjob but doesnt help any ideas will definitely help

Thanks
- Zulfi
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What exactly did you try and what about it "doesn't help"?
-craig

"You can never have too many knives" -- Logan Nine Fingers
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Post by zulfi123786 »

Looked into the options available with dsjob but this level of detail is not provided in the api.

Guess The column definitions should be in the universe tables, any way to get column names associated with a link from command line ?
- Zulfi
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Many years ago I created a DataStage routine to reverse-engineer DDL from a DataStage table definition. So it's definitely do-able. Alas, I have long since lost the code. (It also generated IFX format.)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Post by zulfi123786 »

Though I can't fully read it for now, Thanks for the reply Ray.

Realized my premium membership expired and its 3 days since I renewed but the same is not yet reflected :shock:
- Zulfi
Post Reply