Trap No Record Condition

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
pavankvk
Participant
Posts: 202
Joined: Thu Dec 04, 2003 7:54 am

Trap No Record Condition

Post by pavankvk »

Hi,

i would like to trap the condition "No record passing through a stage'

The scenario is that for a specific condition, no records come into a transformer nor go out. in that case, i want to write something to a file from one of the transformer links saying that output is 0.


i tried @INROWNUM,but didnt work. any idea?
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No can do inside a job. You'll need to check outside the job for that condition and then act accordingly, typically leveraging a Sequence job for that.
-craig

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