DSLinkRowcount

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

DSLinkRowcount

Post by prematram »

Hi,

What is the functionality of DSLinkRowcount...?

plz provide the equivalent of DSLinkRowcount macro in parallel..??
Prem R.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

What is the functionality of DSLinkRowcount...?
It reports the number of rows processed on a link. The macro is defined as DSGetLinkInfo(DSJ.ME,DSJ.ME,DSJ.ME,DSJ.LINKROWCOUNT)

plz provide the equivalent of DSLinkRowcount macro in parallel..??
There isn't one. You would normally use this macro/function in before/after subroutine, which is always a server routine even in a parallel job. If you need to get the link row count while a job is running (which is highly inefficient), use @INROWNUM or @OUTROWNUM system variables.

The correct spelling is "Please". Please use correct spelling on DSXchange. It aids those whose first language is not English.
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