rename field

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
just4u_sharath
Premium Member
Premium Member
Posts: 236
Joined: Sun Apr 01, 2007 7:41 am
Location: Michigan

rename field

Post by just4u_sharath »

for renaming fields, we have modify stage. We can even change the name of the field in copy stage. My question is do the copy stage really supports the assignment operation. When i tried its working, but people said sometimes is really dont work. Why do we need to have the expicit rename funtion in modify when we can easily do it with copy stage.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The Copy stage can:
  • change field names

    drop fields

    re-order fields

    change data type to a compatible (automatically converted) data type
The Copy stage can not:
  • change data in any way

    add fields

    change data type to an incompatible data type
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
John Smith
Charter Member
Charter Member
Posts: 193
Joined: Tue Sep 05, 2006 8:01 pm
Location: Australia

Post by John Smith »

There are overlaps in functionality between a number of DS stages, copy and modify stages are just one example.It's just a feature of the product. That is the reason why you find the comment in the User Guide that there are many different ways to do something in DS (or something along those lines).
Post Reply