help in job logic

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

pandeesh
Premium Member
Premium Member
Posts: 1399
Joined: Sun Oct 24, 2010 5:15 am
Location: CHENNAI, TAMIL NADU

Post by pandeesh »

jyothisdasms wrote:Declare a stage variable.Make its initial value as 1.Then increase its value by one for each row.
How to do this?
pandeeswaran
jyothisdasms
Participant
Posts: 33
Joined: Wed May 19, 2010 12:15 am
Location: Pune

Post by jyothisdasms »

Define two variables

StgVar1=stgVar2

StgVar2=Stgva2+1------->Initial Value=1


Try atleast for 5 minutes.
Then reply.
" Dream like you will live forever, live like you will die today."
jyothisdasms
Participant
Posts: 33
Joined: Wed May 19, 2010 12:15 am
Location: Pune

Post by jyothisdasms »

Define two variables

StgVar1=stgVar2

StgVar2=Stgva2+1------->Initial Value=1


Try atleast for 5 minutes.
Then reply.
:)
" Dream like you will live forever, live like you will die today."
Post Reply