Commenting out Stages in Datastage.

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
Minhajuddin
Participant
Posts: 467
Joined: Tue Mar 20, 2007 6:36 am
Location: Chennai
Contact:

Commenting out Stages in Datastage.

Post by Minhajuddin »

Hi all,

Do we have an option of commenting out stage in Datastage? like we have it in C /*comment*/ and different programming languages?

As of now Whenever I need to temporarily delete a stage, I cut the stage and copy it an empty job.

Want to know if there is a more elegant way to do this.

Thanks for all your help.
Minhajuddin

<a href="http://feeds.feedburner.com/~r/MyExperi ... ~6/2"><img src="http://feeds.feedburner.com/MyExperienc ... lrow.3.gif" alt="My experiences with this DLROW" border="0"></a>
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

I am afraid there is no other way. If you want to keep checking your job and incrementally add stages, you can always let your output stream go to a copy stage. It can consume all the rows without complaining.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
gateleys
Premium Member
Premium Member
Posts: 992
Joined: Mon Aug 08, 2005 5:08 pm
Location: USA

Re: Commenting out Stages in Datastage.

Post by gateleys »

Minhajuddin wrote: Do we have an option of commenting out stage in Datastage?
Yes you can. You can leave the stage on the canvas without any links attached to it.

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

Post by ray.wurlod »

Not sure that works in parallel jobs, gateleys.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
gateleys
Premium Member
Premium Member
Posts: 992
Joined: Mon Aug 08, 2005 5:08 pm
Location: USA

Post by gateleys »

ray.wurlod wrote:Not sure that works in parallel jobs, gateleys.
Anyways, it doesn't make sense to leave the stages without the links. Most information is lost anyhow.
gateleys
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

A faster way is to highlight the stage and turn it into a shared container (Edit Menu - Construct Container - Shared Container) then delete the shared container stage from your job. The stage and stage links remain in the shared container folder but don't clutter up your job folder. If you need to put it back in you can either add the container or copy and paste the stage and links.
Post Reply