Search found 142 matches

by pxraja
Sat Aug 16, 2008 6:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to get quarter date format
Replies: 8
Views: 4247

how to get quarter date format

Hi all, I want to get the quarter format like for the input link Inlink.field1 Inlink.field2 5848 May 08 5848 July 08 Outlink.field1 Outlink.field2 5848 2008Q2 for 2nd quarter 5848 2008Q3 for 3rd quarter I tried for Oconv(Iconv(Inlink.field2,'D MY[A3,2]'),'DQYQ') It's giving me result what I am not ...
by pxraja
Sat Aug 16, 2008 4:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to get Max(DATE) using transformer
Replies: 16
Views: 15337

Hi all,

Can any one tell me why it's showing null field, whenever I do conversion on that particular field.

i.e., on Inlink.field01 as mentioned earlier.

I could not able to get quarters of that field.
by pxraja
Sat Aug 16, 2008 4:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to get Max(DATE) using transformer
Replies: 16
Views: 15337

Hi all,

Can any one tell me why it's showing null field, whenever I do conversion on that particular field.

i.e., on Inlink.field01 as mentioned earlier.

I could not able to get quarters of that field.
by pxraja
Sat Aug 16, 2008 12:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to get Max(DATE) using transformer
Replies: 16
Views: 15337

Hi all, Thanks for your suggestion, but I am using Inlink.field0, Inlink.field1 as varchar in oracle database and Outlink.field1 as number and Outlink.field2 as Timestamp while i am using Iconv(Inlink.field1,'D-YMD[4,2,2]') or Oconv(Iconv(Inlink.field1,'D-YMD[4,2,2]'),'DQ4') the Outlink.field1 is em...
by pxraja
Thu Aug 14, 2008 6:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: converting timestamp to date format
Replies: 6
Views: 7195

Oconv(Iconv(DSLink2.Field1,"DYMD"),"DQ") Or, if you want an ISO 8601 "quarter tag" format (YYYYQn): QUARTER.TAG(Iconv(DSLink2.Field1, ...[/quote] Thanks ray As I am coding as quoted like, Oconv(Iconv(DSLink2.,"DYMD"),"DQ") job runs successfully with...
by pxraja
Thu Aug 14, 2008 4:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: converting timestamp to date format
Replies: 6
Views: 7195

converting to get the quarter field
by pxraja
Thu Aug 14, 2008 4:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: converting timestamp to date format
Replies: 6
Views: 7195

converting timestamp to date format

Hi all, I am trying to convert the get the quarter for Outlink.field1 column from the Inlink.field1 having timestamp in the format YDM and my code for the conversion is as follows Oconv(Iconv(TIMESTAMP.TO.DATE( DSLink2.field1),'YDM[4,2,2]'),'YMD[4,2,2]') Job runs successfully throwing warnings but n...
by pxraja
Wed Aug 13, 2008 9:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to get Max(DATE) using transformer
Replies: 16
Views: 15337

Hi all, I want to select the first row as a updated one and reject the other rows, for example inlink.field01 inlink.field02 jkdkal 2007/12/12 jkdkal 2008/01/01 jkdkal 2006/01/01 fkdajj 2005/05/04 fkdajj 2008/04/08 fkdajj 2008/08/23 I want to take record to ouput column as follows outlink.field01 ou...
by pxraja
Wed Aug 13, 2008 2:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to get Max(DATE) using transformer
Replies: 16
Views: 15337

Hi Ray,

Thanks for your suggestion,

will RowProcCompareWithPreviousValue work for DATE column
in oracle database.

suggestions are welcome

Thanks in Advance
by pxraja
Wed Aug 13, 2008 1:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to get Max(DATE) using transformer
Replies: 16
Views: 15337

how to get Max(DATE) using transformer

Hi all, hash I am using ODBC-->TRF---> ODBC i want to take maxium date for lookup how can i get in transformer for every records i want only the max dated recor inlink.field01 inlink.field02 jkdkal 2007/12/12 jkdkal 2008/01/01 I want to take record to ouput column outlink.field01 outlink.field01 jkd...
by pxraja
Mon Aug 11, 2008 11:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: WARNING: as primary key violated
Replies: 5
Views: 1452

thanks ray

for your guidance
by pxraja
Mon Aug 11, 2008 12:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: WARNING: as primary key violated
Replies: 5
Views: 1452

Hi ray,

I think I misled you

actually, I need the clarifications like, why the warnings are not coming when I am using another sequential file while having the constraint(rejected)? whereas no rows were rejected to sequential file.
by pxraja
Mon Aug 11, 2008 12:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: WARNING: as primary key violated
Replies: 5
Views: 1452

Also I am having only one constraint (i.e., REJECTED)
by pxraja
Sun Aug 10, 2008 11:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: WARNING: as primary key violated
Replies: 5
Views: 1452

WARNING: as primary key violated

Hi all, I am using ODBC_src-->TRF-->ODBC_trg, ODBC_trg has composite primary keys while I am running this job my job runs successfully, but i am getting 2000+ warnings... like JobName..Trf.Lnk_: DSD.BCIPut call to SQLExecute failed. SQL statement: INSERT INTO TABLE NAME(FIELDNAME) VALUES (?,?,?,?,?,...
by pxraja
Thu Aug 07, 2008 7:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to avoid null value into columns
Replies: 11
Views: 4323

Hi all,

Thanks for your suggestions, I had used the constraint and its working.