Long running Jobs

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

Minhajuddin
Participant
Posts: 467
Joined: Tue Mar 20, 2007 6:36 am
Location: Chennai
Contact:

Post by Minhajuddin »

then you would have to use

Code: Select all

wc -l <filename>
and check the output of this in a downstream Nested condition activity. Trigger the join job only if the count is > 1.
Minhajuddin

<a href="http://feeds.feedburner.com/~r/MyExperi ... ~6/2"><img src="http://feeds.feedburner.com/MyExperienc ... lrow.3.gif" alt="My experiences with this DLROW" border="0"></a>
DeepakMohanty
Participant
Posts: 8
Joined: Mon May 05, 2008 4:39 am
Location: Bangalore India

Post by DeepakMohanty »

awk '{x++}END{ print x}' /tempdsadm/MTVSourceSequentialFile/MTVEXTRACT/<filename>

This is giving me out put 1

and i am usinge $CommandOutput >1 in nested condition . idealy the job should not kick up but the job is running.
--Deepak
Post Reply