get the batchid and transaction id for each transaction

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

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

Post by ray.wurlod »

Split your data into two streams based on batch ID (Transformer stage).
The txnID value on each output link is given by the system variable @OUTROWNUM.
Done.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ushasribandaru
Participant
Posts: 15
Joined: Fri Nov 21, 2008 12:41 am

Post by ushasribandaru »

[quote="ray.wurlod"]Split your data into two streams based on batch ID (Transformer stage).
The txnID value on each output link is given by the system variable @OUTROWNUM.
Done. ...[/quote]

I am using the Websphere datastageTX(Transfermation extender),I dont have the option to use the OUTROWNUM function here.

I am trying in this way,
F_Cnt(NUMBERTOTEXT(COUNT(EXTRACT(DebitAccNo Field:Transaction:Payment:PbtIn,DebitAccNo Field:Transaction:Payment:PbtIn="6548798277"))),INDEX($))
The number here i have asssigned is one of the account number(6548798277),
Insted of passing the account number i to want pass one variable(s),which contails all unique
account numbers but the loop is not working as i expected(as per my requirement).

I would appricieate if have any suggestions.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

In that case you should have posted in the TX forum.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

And not marked your "job type" as Server. :?
-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 »

chulett wrote:And not marked your "job type" as Server. :?
Alas there's no choice on that; TX is not one of the options.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Sure there is.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply