Search found 3329 matches

by Sainath.Srinivasan
Mon Mar 02, 2009 9:54 am
Forum: General
Topic: Changing case of parameters on the fly
Replies: 8
Views: 3311

Code: Select all

'#DirScripts#/' : downcase(#CompanyName#) : '_#Environment#.csv' 
by Sainath.Srinivasan
Mon Mar 02, 2009 9:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: LIKE Operation
Replies: 5
Views: 1488

If it is a join with more columns, you can let it pass through and do an index on the LIKE column after the join.

So add a transformer after the join to constraint rows which satisfy the index.

If the match is complicated - something like '%A%B%C%', then you can write your own function.
by Sainath.Srinivasan
Mon Mar 02, 2009 9:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: LIKE Operation
Replies: 5
Views: 1488

Does the reference INTO WHICH you are doing the LIKE come from any database table? If yes, you can push LIKE in the stage linking the table rather than using the dataset which is the result of its extraction. Alternatively you can write a buildop to look for pattern. Btw, how big is this LIKE table?...
by Sainath.Srinivasan
Mon Mar 02, 2009 6:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can identify invalid duplicates?
Replies: 10
Views: 2596

Try

Code: Select all

sort -u <YourFile> | cut -f1 | uniq -c | grep -v ' 1 '
and use the output as a lookup to identify duplicates.
by Sainath.Srinivasan
Mon Mar 02, 2009 6:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: a lilltle complex scenario...plz help
Replies: 1
Views: 2633

Are you asking the framework or solution to identify whether to reject or not?

What is the source? If db, you can do in SQL.

'uniq -c' on second column and a 'grep -c' on 3rd and 4th column (combined) can do.

Alternatively, an 'awk' through the data must solve your issue.
by Sainath.Srinivasan
Mon Mar 02, 2009 4:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup using a Order by clause
Replies: 2
Views: 793

There may be multiple records for the month+year combination. something like one for each day. So you may be getting different values.

What are you key links to lookup? Does the mentioned sql returns more than one row?
by Sainath.Srinivasan
Fri Feb 27, 2009 5:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS warnings related to CASE expression
Replies: 5
Views: 2559

Do you have any parameter near the case structure?
by Sainath.Srinivasan
Fri Feb 27, 2009 4:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: unlock job in version 8
Replies: 5
Views: 1567

Via webconsole.

Search.
by Sainath.Srinivasan
Fri Feb 27, 2009 4:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS warnings related to CASE expression
Replies: 5
Views: 2559

Does the SQL run successfully outside DS ?
by Sainath.Srinivasan
Fri Feb 27, 2009 3:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Implementing lengthy transformation logic
Replies: 12
Views: 2411

Get a row generator / seq file with pattern and associated value.

Do an inverted pattern match using index - i.e. locate pattern in word rather than word of a pattern.

If it matches, then set it to the associated value.
by Sainath.Srinivasan
Fri Feb 27, 2009 3:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calculating different due dates based on installment number.
Replies: 11
Views: 2369

Cross it with a generated list of values like below

Installments,InstallmentMonthNo,Days
0,0,0
1,1,30
2,1,30
2,2,60
3,1,30
3,2,60
3,3,90
..........
........
50,1,30
..........
50,50,1500

This will give you both months and days.

You will have to configure you reference, but I will leave that to you.
by Sainath.Srinivasan
Thu Feb 26, 2009 8:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Know current users working
Replies: 7
Views: 1202

That is because you are using the os level single user authorisation rather than individual ones.