Search found 18 matches
- Thu Apr 06, 2006 7:40 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Tab Delimited file Delimited Value in the stage properties ?
- Replies: 3
- Views: 3418
Tab Delimited file Delimited Value in the stage properties ?
I have a TAB delimited txt file that I saved using TOAD it has more than 65000rows so i cannot save it using .CSV extension how do i load this file using the flat file stage Basically what will be the valus of the DELIMITER Box in the output / Format tab on the flat file stage properties. for EG .CS...
- Wed Mar 01, 2006 8:57 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Like Operator in Transform
- Replies: 4
- Views: 1877
- Tue Feb 28, 2006 3:11 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Like Operator in Transform
- Replies: 4
- Views: 1877
Like Operator in Transform
hi all the logic is like this BALLOON_INDICATOR = 'Y' if PRODUCT_TYPE like '%alloon%' I have translated it to the below in the Transformer it does not seem to work If tpo_loan_orig_out.PRODUCT_DESCRIPTION Matches "%alloo%" Then "Y" Else "N" i also tried If tpo_loan_orig...
- Thu Feb 23, 2006 12:43 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Another Date Conversion
- Replies: 1
- Views: 932
Another Date Conversion
All Simple rrequest Sequntial file has 2006-02-28 00:00:00 i need to put it in ORacle DATE feild how do i do it Also I have defined the date column on the orcale side in DS as TImestamp 38 Do i have to define it as TIMESTAMP in the metadata defenition on the SEQ stage or is it ok to be varchar thank...
- Thu Feb 09, 2006 9:52 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sorting cols in the transformer
- Replies: 1
- Views: 1221
Sorting cols in the transformer
is there a way / work around , after we do the mapping we can sort the columns in the transformer as with many cols its really very difficult to search for them .
thanks
rxs0005
thanks
rxs0005
- Wed Feb 08, 2006 1:56 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Strip $ sign from Sequential file
- Replies: 3
- Views: 1787
Strip $ sign from Sequential file
hi I have sequential text files that have $ amounts prefixed to the value and there are several columns. How do i strip them before i laod them to orcale tables. Should i define the COLA under seq stage as varchar2 and in oracle as a regular number(8,3) EG: Col A ColB ( in oracle ) $4455.444 4455.44...
- Wed Nov 09, 2005 9:12 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date Differenc Math in Transformer
- Replies: 8
- Views: 2813
- Wed Nov 09, 2005 8:09 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date Differenc Math in Transformer
- Replies: 8
- Views: 2813
- Tue Nov 08, 2005 3:09 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date Differenc Math in Transformer
- Replies: 8
- Views: 2813
Date Differenc Math in Transformer
hi all I need to to date math like this ( (Date1 - Date2 ) * 360 ) / 12 I can do this in oracle very easily like below ROUND((Date1 - Date2 ) / 365 ) * 12 also Date1 > Date2 how do i do this in the transformer using date function provided by datastage. I think finally what i need is a function that ...
- Mon Nov 07, 2005 9:56 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: String Decode function issue
- Replies: 1
- Views: 1029
String Decode function issue
hi all i am trying to use sting decode i have the 3 versions it still does not change it on DB the input is VARCHAR2(10) i.e data type of PROPERTY_TYPE StringDecode(tpo_loan_orig_out.PROPERTY_TYPE,'01=Condo under five stories|1=Condo under five stories') StringDecode(tpo_loan_orig_out.PROPERTY_TYPE,...
- Fri Nov 04, 2005 12:14 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: LPAD equivalent in DS
- Replies: 5
- Views: 3906
- Fri Nov 04, 2005 11:05 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: LPAD equivalent in DS
- Replies: 5
- Views: 3906
LPAD equivalent in DS
hi all All i need to do is i have a column that is 5 characters long . I need to LPAD it with 0's if its not 5 characters long Input col = ABCD OUTPUT = 0ABCD Input col = ijklm OUTPUT = ijklm basically the oracle LPAD equivalent . I found the PadString function Return the string padded with the opti...
- Sat Oct 29, 2005 10:30 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: stringdecode Function
- Replies: 1
- Views: 1265
stringdecode Function
hi i am using this in the transformer StringDecode( tpo_loan_orig_out.OCCUPANCY , 'O= OwnerOccupied|N =Non Owner Occupied| S= Second home ' ) but when the input is O its not decodign to OwnerOccupied as i am gettgin the below inf in the log file bnk_ld_gmacb_loan_orig..xfm_bank_tpo_loan (StringDecod...
- Fri Oct 28, 2005 9:29 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: DS equivalent of DECODE function of Oracle
- Replies: 4
- Views: 2319
- Fri Oct 28, 2005 9:13 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: DS equivalent of DECODE function of Oracle
- Replies: 4
- Views: 2319
DS equivalent of DECODE function of Oracle
hi all,
I need to do an transformation based on DECODE logic i use in oracle
in the TRANSFORMER which fucntion / routine i use
thanks
eg:
update table
set col_X = decode(col_x, null, ABC, 0, ABC, col_X )
I need to do an transformation based on DECODE logic i use in oracle
in the TRANSFORMER which fucntion / routine i use
thanks
eg:
update table
set col_X = decode(col_x, null, ABC, 0, ABC, col_X )