Search found 102 matches
- Sat Jan 08, 2005 2:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal rounding
- Replies: 8
- Views: 7616
Matthieu, that is exactly the problem i am facing.... how do i fit in a decimal(8,3) in a column declared decimal(7,3) ? to circumvent this problem, i read the input as Varchar(8) to_char(round(input,3)) Now the problem is how to convert this string value to decimal ? In another thread Ray mentioned...
- Sat Jan 08, 2005 12:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: PX 6.0 String to Decimal
- Replies: 12
- Views: 6383
- Fri Jan 07, 2005 5:19 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: PX 6.0 String to Decimal
- Replies: 12
- Views: 6383
PX 6.0 String to Decimal
Hi All, How can i convert a String(1234.567) to Decimal(1234.567) ? Input Column defined as: Varchar(8) Output Column defined as: Decimal(7,3) StringToDecimal(convert(".", "", Link.ColumnName)/1000) gives 1234.000 The decimal part is not coming. Thanks in advance Have a good week...
- Fri Jan 07, 2005 2:35 pm
- Forum: IBM QualityStage
- Topic: IS THE COMPARISON POSSIBLE
- Replies: 4
- Views: 3796
- Fri Jan 07, 2005 2:24 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal rounding
- Replies: 8
- Views: 7616
Partly working...thats a good sign
Hi Matthieu The conversion from Decimal(18,6) to decimal(7,3) is working when the input number=1234.123 But gives a 0000.000 when input number=12345.123456 I try to round(number,3) at source. If i view source, it shows as decimal(38,10), i.e. 0000000000000000000000012345.1234560000 Any idea as to wh...
- Fri Jan 07, 2005 11:18 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal rounding
- Replies: 8
- Views: 7616
- Fri Jan 07, 2005 9:36 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal rounding
- Replies: 8
- Views: 7616
- Thu Jan 06, 2005 4:29 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Decimal rounding
- Replies: 8
- Views: 7616
Decimal rounding
Hi All This is my problem. Source is Decimal(18,6). Target is Decimal(7,3). So if input is 000000002323.423567 result should be 2323.424. Database: Oracle 8.0 DS version: PX 6.0 I am reading input as Varchar and using field() to extract values. I dont know how far i will be successful this way. This...
- Thu Oct 28, 2004 5:29 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: remove blank lines from end of file
- Replies: 9
- Views: 4313
- Mon Oct 25, 2004 2:39 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: remove blank lines from end of file
- Replies: 9
- Views: 4313
- Thu Oct 21, 2004 12:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: remove blank lines from end of file
- Replies: 9
- Views: 4313
remove blank lines from end of file
Hi All,
We get flat files which have blank lines at the end of the file. This creates the "Mismatch in number of columns" error.
How to get rid of the lines? Before-job subroutine calling a shell script?
Can i get some ideas as to how to write the script?
Thanks in advance
J
We get flat files which have blank lines at the end of the file. This creates the "Mismatch in number of columns" error.
How to get rid of the lines? Before-job subroutine calling a shell script?
Can i get some ideas as to how to write the script?
Thanks in advance
J
- Tue Oct 19, 2004 11:53 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Internal date format to Julian Day
- Replies: 3
- Views: 880
- Tue Oct 19, 2004 8:54 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Internal date format to Julian Day
- Replies: 3
- Views: 880
- Tue Oct 19, 2004 8:30 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Internal date format to Julian Day
- Replies: 3
- Views: 880
Internal date format to Julian Day
Hi All,
Has anyone done a conversion from an internal date format to Julian Day format?
If yes, please let me know.
Thanks in advance,
Jay
Has anyone done a conversion from an internal date format to Julian Day format?
If yes, please let me know.
Thanks in advance,
Jay
- Wed Jul 28, 2004 10:05 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to clear the "deleted jobs" from repository vi
- Replies: 15
- Views: 8776
I had this problem in the last project. Sometimes what happens is that if you abort or rename the job and some thing happens(i dont exactly know what), the job in UV remains like a dangling pointer. So you have to go to the UV shell (normally the dsadmin will have access to this dir) and find out th...