Search found 56 matches

by karrisuresh
Wed May 13, 2009 12:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_ORACLE_LOAD_OPTION
Replies: 8
Views: 6166

APT_ORACLE_LOAD_OPTION

Hi
I am trying to perform truncate and load option

for that in ADMIN,
I am giving APT_DUMP_SCORE for APT_ORACLE_LOAD_OPTIONS

but still i am getting error

any suggestion

thanks
suresh
by karrisuresh
Tue Jan 06, 2009 7:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: to store column value of previous rec
Replies: 1
Views: 871

to store column value of previous rec

Hi while loading the 7th rec, In the transformer I want to store the column value of 6th rec and add that column value to 7th rec based on certain condition and populate it to tgt, Only thing is I am not getting idea as how to get the value of 6th rec which already populated into the tgt table just ...
by karrisuresh
Fri Dec 12, 2008 12:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: seq numbers
Replies: 5
Views: 1642

Hi Deepak Can you please elaborate it

thanks
sai
by karrisuresh
Fri Dec 12, 2008 12:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: seq numbers
Replies: 5
Views: 1642

can you please elaborate it

thanks
suresh
by karrisuresh
Wed Dec 03, 2008 4:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: seq numbers
Replies: 5
Views: 1642

seq numbers

Hi All there are 10 columns in my target table, 9 columns are filled from source and 10th column needs to be filled by number sequence starting from 1 eg for load 1 for 100 records, the 10th column is populated as 1 thorugh 100 eg for load 2 for 100 records, the 10th column is populated as 101 thoru...
by karrisuresh
Wed Dec 03, 2008 4:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: truncate the first char
Replies: 1
Views: 1089

truncate the first char

Hi All
I just want to know one small transformation like

I have the value "A12345" as src value
and it should be populated as "12345" in the target
ie the first char should be truncated and populated to the target

the job is parallel job

src:table/file
tgt:table
by karrisuresh
Thu May 22, 2008 11:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: datastage char(2006-03-04) to timestamp(2006-03-04:00:00:00)
Replies: 2
Views: 1725

datastage char(2006-03-04) to timestamp(2006-03-04:00:00:00)

Hi My source column is char(10) and value is "2006-03-04"
Now My interest is to convert into timestamp 2006-03-04:00:00:00
can I get the exact syntax for this

src is dataset with datatype char 10
tgt is dataset with datatype timestamp


thanks
Suresh
by karrisuresh
Thu Jan 24, 2008 11:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: datastage PX
Replies: 4
Views: 3985

round off

Floor is used to get the previous integer value
I want the value after deciaml to be rounded to 2 places
by karrisuresh
Wed Jan 23, 2008 6:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: datastage PX
Replies: 4
Views: 3985

datastage PX

HI I have a column say Employee_age,
I need to round it 2 decimal places
could any pls let me know the exact syntax
I can give a hint for better understanding

NVL(round(sum(Employee_age),2),0.00)

I can do all except the round function in the above one

thanks in advance
by karrisuresh
Wed Oct 31, 2007 8:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: conversion of date(4) to timestamp(26)
Replies: 9
Views: 3908

StringToTimestamp(DateToString(lnk_Lkp_CustKy_out.UPDATE_DT),'yyyy-mm-dd hh:nn:ss')


I have date so If I convert it into string
I might get for eg 1999-11-05 is the date
and the corresponding string is "1999-11-05"

could you pls help me

thanks
by karrisuresh
Wed Oct 31, 2007 6:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: conversion of date(4) to timestamp(26)
Replies: 9
Views: 3908

I used this one:
StringToTimestamp(DateToString(lnk_xfrm_column.UPDATE_DT),'yyyy-mm-dd hh:nn:ss')
but still not working

Thanks
by karrisuresh
Wed Oct 31, 2007 6:07 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: conversion of date(4) to timestamp(26)
Replies: 9
Views: 3908

I am sorry the date(10) and the corresponding timestamp(26)
If at all anything missing then should be replaced with 00:00
thanks
by karrisuresh
Wed Oct 31, 2007 5:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: conversion of date(4) to timestamp(26)
Replies: 9
Views: 3908

conversion of date(4) to timestamp(26)

HI I have a column of Date(4) and needed to convert in the transformer to timestamp(26)
Could any one give the syntax for this

Thanks in advance
thanks for your time

Suresh
by karrisuresh
Wed Oct 24, 2007 6:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: first name and last name
Replies: 4
Views: 1887

first name and last name

Hi Everyone I have got new problem, Earlier I thought of first name and last name only Now I have prob with middle name For example: From the source I am getting a name called "kenneth charlie Browne" in the transformer the name should get split into only two columns called first name and ...
by karrisuresh
Wed Oct 24, 2007 6:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: datastage
Replies: 13
Views: 26678

px

Hi Everyone I have got new problem, Earlier I thought of first name and last name only Now I have prob with middle name For example: From the source I am getting a name called "kenneth charlie Browne" in the transformer the name should get split into only two columns called first name and ...