We have a requirement as below in our project. We will be downloading a Flat file from Host mainframe which has some COMP-3 (packed decimal) field. Could anyone please explain me how to handle with this COMP-3 field. We need to uncompress this field do some check against each byte and depending on that different actions to be taken. Pls let me know how to uncompress, compress and read COMP-3 values.