Page 1 of 1

Commenting out Stages in Datastage.

Posted: Thu Jun 14, 2007 10:46 am
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.

Posted: Thu Jun 14, 2007 12:27 pm
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.

Re: Commenting out Stages in Datastage.

Posted: Thu Jun 14, 2007 12:36 pm
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

Posted: Thu Jun 14, 2007 2:54 pm
by ray.wurlod
Not sure that works in parallel jobs, gateleys.

Posted: Thu Jun 14, 2007 2:59 pm
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.

Posted: Thu Jun 14, 2007 10:21 pm
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.