Search found 3 matches

by thiruiitd
Wed Jan 30, 2008 9:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Duplicate count
Replies: 12
Views: 4115

Re: Duplicate count

Hi Krish, Create three stage variables as suggested by Shane as follows (sort the record first) Stage Variables and derivations (use the same order of stage variable) SVCurrentCount --If SVPreviousName is NULL or SVPreviousName <> DSLink.Name Then 1 Else SVPreviousCount +1 SVPreviousCount --SVCurren...
by thiruiitd
Wed Jan 30, 2008 8:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Acessing UNIX environmental variable through datastage
Replies: 11
Views: 6022

Re: Acessing UNIX environmental variable through datastage

Hi Raj, Pass the environmental variable as job parameter. It will work Regards Thiru Hi all, I am having a shell script which i would be running from a before/after routine for getting empid like this v_emp_id=`echo "SET HEADING OFF;\n select nvl(max(emp_id), 0)+1 from location ;\n exit\n"...
by thiruiitd
Wed Jan 30, 2008 8:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Acessing UNIX environmental variable through datastage
Replies: 11
Views: 6022

Re: Acessing UNIX environmental variable through datastage

Hi Raj, Pass the environmental variable as job parameter. It will work Regards Thiru Hi all, I am having a shell script which i would be running from a before/after routine for getting empid like this v_emp_id=`echo "SET HEADING OFF;\n select nvl(max(emp_id), 0)+1 from location ;\n exit\n"...