Alternative to @INROWNUM system variable

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
prematram
Participant
Posts: 14
Joined: Fri Dec 14, 2007 2:01 am
Location: Chennai

Alternative to @INROWNUM system variable

Post by prematram »

Hi,

Is bthere any altertnative to @INROWNUM system variable in parallel extender..bcoz it is not working in parallel.. what is the use of @PARTITIONNUM..?/
Prem R.
Dev_help
Participant
Posts: 6
Joined: Tue Jan 16, 2007 8:54 am

Post by Dev_help »

If you want to generate a series of unique sequence numbers, then you may use a surrogate generator stage.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

@INROWNUM will give you the actual input row per partition, i.e. it is not unique. If you want a unique number, you will need to combine your @INROWNUM and your @PARTITIONUM
Minhajuddin
Participant
Posts: 467
Joined: Tue Mar 20, 2007 6:36 am
Location: Chennai
Contact:

Re: Alternative to @INROWNUM system variable

Post by Minhajuddin »

prematram wrote:Hi,

Is bthere any altertnative to @INROWNUM system variable in parallel extender..bcoz it is not working in parallel.. what is the use of @PARTITIONNUM..?/
What do you mean it's not working?
Give more details of your problem to help people help you.
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>
Post Reply