Search found 29 matches

by hemanthakumar
Mon Sep 26, 2011 4:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error Message - Operator of type "APT_TSortOperator&quo
Replies: 3
Views: 2888

Error Message - Operator of type "APT_TSortOperator&quo

Hi All, I am getting following error message in join stage of parallel job Operator of type "APT_TSortOperator": will partition despite the preserve-partitioning flag on the data set on input port 0. In join stage we are using the same partition, Before join stage aggregator we have used H...
by hemanthakumar
Wed Jul 13, 2011 2:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Iconv & Oconv logic
Replies: 6
Views: 5697

Hi Kamal,
The below code is working fine, it gives the correct output "2011/07/13"

Code: Select all

Oconv(@DATE,"D/YMD[4,2,2]") 
.
by hemanthakumar
Wed Feb 23, 2011 12:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how can i get the received file timestamp in datastage
Replies: 2
Views: 2738

how can i get the received file timestamp in datastage

Hi, Iam getting daily many files in unix (source directory). My requirement is to get the file received timestamp from unix and need to load in one of the db2 (target) table at column RCVD_TS. Currently we are handling the basic- routine but going forward we wont use server jobs and basic routines....
by hemanthakumar
Fri Sep 03, 2010 2:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL Logic in Datastage
Replies: 14
Views: 11721

Hi,
you can use Aggregator stage. In Aggregator group by on field1 and find max(Amount).
by hemanthakumar
Fri Sep 03, 2010 2:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformation logic - need to grab substring
Replies: 15
Views: 6691

Hi agpt,
My code is :
If count(loc,"-") > 0
Then
loc [3]
Else
loc.
by hemanthakumar
Tue Aug 31, 2010 11:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformation logic - need to grab substring
Replies: 15
Views: 6691

Thanks Arun, " If Count(Column,'-') > 0 Then Column[3] Else Column" is also working fine.
by hemanthakumar
Tue Aug 31, 2010 7:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformation logic - need to grab substring
Replies: 15
Views: 6691

i used dcount and field functions. Its working fine :D
by hemanthakumar
Tue Aug 31, 2010 6:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformation logic - need to grab substring
Replies: 15
Views: 6691

Hi,
i have following requirement.
If the value contains "-" then use the last three characters of the string else use the whole string.

ex: 1) customer-usa output is usa ( corrected the delimiter)
2) india output is india.
Any one can help me to resolve for the same.
by hemanthakumar
Tue Aug 31, 2010 6:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformation logic - need to grab substring
Replies: 15
Views: 6691

i applied the logic, but its giving wrong result.
Thanks for your response.
by hemanthakumar
Tue Aug 31, 2010 6:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformation logic - need to grab substring
Replies: 15
Views: 6691

Transformation logic - need to grab substring

Hi,
i have following requirement.
If the value contains "-" then use the last three characters of the string else use the whole string.

ex: 1) customer_usa output is usa
2) india output is india.
Any one can help me to resolve for the same.
by hemanthakumar
Tue Mar 24, 2009 5:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Warning :Missing record delimiter "\n", saw EOF in
Replies: 18
Views: 36721

Hi, Use the follwing command in Unix to remove control (^M) characters in Source file. sed 's/'`echo "\015"`'//g' filename. To remove the warning "Missing record delimiter "\n", saw EOF instead" go to end of the last line of the source file give one Enter .It will remov...
by hemanthakumar
Wed Feb 25, 2009 5:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Binary to ASCII
Replies: 3
Views: 2246

Hi,
Check this command in Unix sed 's/'`echo "\015"`'//g' filename for removing control characters in your file.
by hemanthakumar
Thu Jan 29, 2009 1:27 am
Forum: General
Topic: Hashed File - Key column
Replies: 7
Views: 3431

Hi,
its not necessary that we have to select the key column in the ouput tab of a hashed file which was defined in the input tab? But It's necessary to have any key column .
by hemanthakumar
Thu Jan 29, 2009 1:26 am
Forum: General
Topic: Hashed File - Key column
Replies: 7
Views: 3431

Hi,
its not necessary that we have to select the key column in the ouput tab of a hashed file which was defined in the input tab? But It's necessary to have any key column .
by hemanthakumar
Thu Jan 29, 2009 1:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Which version of datastage (parallel job) is support.....
Replies: 4
Views: 2256

Hi Suresh,
I'm sure that 7.5x2 will be supported in Windows XP.