Loop mechanism inside job.

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
kaushal.kumar@igate.com
Participant
Posts: 77
Joined: Tue Apr 14, 2009 4:03 am

Loop mechanism inside job.

Post by kaushal.kumar@igate.com »

Is it possible to use loop mechanism inside parallel job.
Please advice me ,in which stage i can use a for loop .
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

DataStage until vesion 8.1 does not support looping in pre-built stages.

This is one of the features to come in the new release.

Btw, you can write your own operator to incorporate looping.
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

I think sainath is not correct in saying that loop was introduced in 8.1

8.0 also had the loop stage

Regards
Sreeni
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

I assume we're talking about "looping" inside a PX job rather than a Sequence job, the latter of which goes back well before the 8.x version.

First question would have to be why - what makes you think you need to do any kind of "looping" in a job? What are you trying to accomplish? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
Kryt0n
Participant
Posts: 584
Joined: Wed Jun 22, 2005 7:28 pm

Post by Kryt0n »

Sreenivasulu wrote:I think sainath is not correct in saying that loop was introduced in 8.1

8.0 also had the loop stage

Regards
Sreeni
There's a loop stage? Where do you find it? Or are you referring to the sequence loop?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yes, I'm sure they are referring to the Start Loop and End Loop stages in a Sequence job.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

A future version of DataStage (probably the next) will not have a Loop stage in jobs. It will have the ability to set up a looping construct within a Transformer stage - and consequently the ability for the Transformer to sent more rows to an output link than were received on its input link.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply