Selecting distinct values and creating a list/array

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

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

Post by ray.wurlod »

Turns out they've use functions rather than system variables. LastRecord() and LastRecordInGroup() are the names of the functions if I recall correctly.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
pdntsap
Premium Member
Premium Member
Posts: 107
Joined: Mon Jul 04, 2011 5:38 pm

Post by pdntsap »

Right now, I set the UserStatus in a Server job (the routine is a transform function and is being called for every record) and then make use of User Variables to read the value stored in UserStatus.
I will implement Ray's suggestions and update the post.
Post Reply