Search found 186 matches
- Sat Dec 21, 2013 8:13 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date valid function
- Replies: 7
- Views: 3521
- Thu Dec 19, 2013 5:08 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date valid function
- Replies: 7
- Views: 3521
- Thu Dec 19, 2013 2:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date valid function
- Replies: 7
- Views: 3521
i used now
Still getting the Null output.
Code: Select all
if isnull(select_stats.MATURITY_DATE) then setnull() else if IsValid("Date" , select_stats.MATURITY_DATE, "%mm%dd%yyyy") Then StringToDate(select_stats.MATURITY_DATE,"%mm%dd%yyyy") else setnull()
- Thu Dec 19, 2013 2:23 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Date valid function
- Replies: 7
- Views: 3521
Date valid function
hi , i am read the date column MATURITY_DATE(VARCHAR) with length 8 and converting into Date by using the function given below but getting NULL as output. if isnull(select_stats.MATURITY_DATE) then setnull() else if IsValid("Date" , select_stats.MATURITY_DATE, "%yyyy%mm%dd") Then...
- Sun Dec 15, 2013 3:01 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: conversion error
- Replies: 5
- Views: 2958
- Sat Dec 14, 2013 5:32 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: conversion error
- Replies: 5
- Views: 2958
i use the following function as suggested
Still the same error is coming( Conversion error calling conversion routine decimal_from_string data may have been lost)
Code: Select all
StringToDecimal(select_stats.CYCLE_DAY_OF_MONTH)
- Sat Dec 14, 2013 12:08 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: conversion error
- Replies: 5
- Views: 2958
conversion error
hi,. i tried to insert the column CYCLE_DAY_OF_MONTH varchar(2) to decimal CYCLE_DAY_OF_MONTH(decimal(5)) however i getting error conversion error decimal from string data may have been lost. i have search a lot of forums and then tried with function StringToDecimal(select_stats.CYCLE_DAY_OF_MONTH[5...
- Thu Dec 12, 2013 9:14 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: string to Decimal conversion
- Replies: 7
- Views: 16444
- Sat Dec 07, 2013 9:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: string to Decimal conversion
- Replies: 7
- Views: 16444
- Sat Dec 07, 2013 5:40 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: string to Decimal conversion
- Replies: 7
- Views: 16444
string to Decimal conversion
hi, i have input column apt_source(varchar 255) having records like "+ 000000000000.00" and needs to covert to target datatype decimal(14,2) but getting errors APT_CombinedOperatorController,1: Conversion error calling conversion routine decimal_from_string data may have been lost. the job...
- Fri Nov 22, 2013 11:29 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sub-string syntax for date generation
- Replies: 3
- Views: 1439
i have tried by the following way to get mmddyy in between 86 and 20 '86': lnk_cpy.PARTY_ACCT_RELSHP_SNAP_DATE[6,1]:lnk_cpy.PARTY_ACCT_RELSHP_SNAP_DATE[9,1]:lnk_cpy.PARTY_ACCT_RELSHP_SNAP_DATE[3,4]:'20' the result coming like this 861213-120. i need 8611211320. Can you please help me to correct the ...
- Fri Nov 22, 2013 10:48 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sub-string syntax for date generation
- Replies: 3
- Views: 1439
Sub-string syntax for date generation
hi, I am generating a fixed width file and I need output based on the following requirement '86' || mmddyy || '20'. The mmddyy should correspond to the party_acct_relshp_snap_date value column as getting from source and the date is coming as 2013-11-21. I tried the following way: '86': lnk_cpy.PARTY...
- Wed Nov 06, 2013 10:52 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: logic required for increment field
- Replies: 7
- Views: 1815
- Wed Nov 06, 2013 9:15 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: logic required for increment field
- Replies: 7
- Views: 1815
- Wed Nov 06, 2013 8:43 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: logic required for increment field
- Replies: 7
- Views: 1815
logic required for increment field
hi, i have extracting the data from DB2 and loading into oracle stage. the out put i need is given below. No AP BK_NO VER SHORT_NAME DS_LOAN_DESC 10000241 1 1 1 CIT FINANCE LLC PARTIC01 10000241 1 1 1 BMO PARTIC02 if no=10000241 and shortname=CIT FINANCE LLC then i need PARTIC01 similary if no=10000...