What's the advantage of Modify stage?

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
mavrick21
Premium Member
Premium Member
Posts: 335
Joined: Sun Apr 23, 2006 11:25 pm

What's the advantage of Modify stage?

Post by mavrick21 »

Hello all,

I was wondering why one should use modify stage when other stages can be used instead of modify stage?

As per my understanding renaming columns, dropping columns, changing datatype can be achieved using Copy stage instead of Modify Stage.

I know Modify stage performs better since it's a primitive stage. What are the other advantages of Modify stage over others?

Thanks for your time.
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

Better change datatype using 'modify' stage .

Regards
Sreeni
tjr
Participant
Posts: 19
Joined: Wed Jun 15, 2005 6:37 am

Re: What's the advantage of Modify stage?

Post by tjr »

Modify and transformer stages have comparable performance. The advantage of the modify stage clearly is that it fully supports RCP and parameterized commands. With it you can design much more generic jobs than just with the transformer stage.
mavrick21
Premium Member
Premium Member
Posts: 335
Joined: Sun Apr 23, 2006 11:25 pm

Post by mavrick21 »

Thanks for your replies.

tjr,
Could you please give me an example of parameterized commands?

Again thanks for your time.
jhmckeever
Premium Member
Premium Member
Posts: 301
Joined: Thu Jul 14, 2005 10:27 am
Location: Melbourne, Australia
Contact:

Post by jhmckeever »

You might want to look at Andy Sorrell's Modify Stage video in the Learning Center:

learningcenter/video/ModifyStage.php
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
tjr
Participant
Posts: 19
Joined: Wed Jun 15, 2005 6:37 am

Post by tjr »

mavrick21 wrote:Thanks for your replies.

tjr,
Could you please give me an example of parameterized commands?

Again thanks for your time.
the whole modify specification or parts of it can just be a job parameter that is resolved at run-time.
Post Reply