File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Using Comp-3 Value in Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Using Comp-3 Value in Java" Watch "Using Comp-3 Value in Java" New topic

Using Comp-3 Value in Java

ramki srini

Joined: Aug 27, 2002
Posts: 26
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
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
Please don't post the same message to more than one forum. You obviously read more than one forum. So do the people who might answer your question.
I have closed this thread. All replies to the one in Java in General (intermediate).

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: Using Comp-3 Value in Java
It's not a secret anymore!