Converting Packed Decimal value to decimal value

Formally known as "Mercator Inside Integrator 6.7", DataStage TX enables high-volume, complex transactions without the need for additional coding.

Moderators: chulett, rschirm

Post Reply
Kapil
Participant
Posts: 1
Joined: Tue Mar 28, 2006 6:11 am
Location: Pune

Converting Packed Decimal value to decimal value

Post by Kapil »

Hi,

I am working on Datstage TX 8.0. I have an input where in the values (amount) are in Packed Decimal format. The input will be coming in the following format S9(14) or 8 bytes. I want to transform them into decimal values. Could you please help me ??
Regards,
Kapil
dlkkrao
Participant
Posts: 37
Joined: Wed Apr 20, 2005 4:26 am
Location: mumbai-india
Contact:

Post by dlkkrao »

Hi Kapil,

Check the property packed in decimal category in Type defaults in Format tab of a sequential file stage. Set the value as no(overpunch) or no(zoned) or no(separate) depending upon your requirement.


Thanks,
Rohit.
rodneycrowe
Participant
Posts: 10
Joined: Fri Sep 23, 2005 10:27 am

Post by rodneycrowe »

Actually, why not use the UNPACK() function in a map rule to convert the data. I am not sure what the other person is talking aboutbut is does not seem to be TX.
Post Reply