Search found 3 matches
- Thu Sep 04, 2008 11:58 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Leading Sign and Zero Filled Decimal Amount Fields
- Replies: 5
- Views: 2514
With your advice I did the seperate sign field. I check the first byte of the input amount field for the sign and populate the output field. I then used the following code in my transform to handle the leading zeros: If substrings(DSLink4.OPEN_AMT,1,1) = '-' then FMT(DSLink4.OPEN_AMT*-1,"16'0'R2") e...
- Thu Sep 04, 2008 11:32 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Leading Sign and Zero Filled Decimal Amount Fields
- Replies: 5
- Views: 2514
- Thu Sep 04, 2008 10:42 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Leading Sign and Zero Filled Decimal Amount Fields
- Replies: 5
- Views: 2514
Leading Sign and Zero Filled Decimal Amount Fields
Good Afternoon, I need to build a sequntial file for a vendor. They need the amount fields in the format +000100.01 or -000100.01. The data is coming from a DB2 table and looks like -100.01 or 100.01. I've tryed messing with the FMT and OCONV functions, but I can't seem to hit the nail on the head. ...