A Binary packager (or field) will do now translation of the data into
the ISOMsg.
An EBCDIC packager (or field) is one that will expect EBCDIC and convert
from EBCDIC to ASCII for you into the ISOMsg.
An ASCII packager (or field) will expect ASCII and deliver ASCII into
the Strings returned from the derived ISOMsg.
> Which one should I be using?
Whatever one matches your interface - your specification will say.
It is *whole* packager that needs to match - field for field.
If you wanted to know what binary, EBCDIC and ASCII are, then try google.
8)
--
Mark
> Note these are the same messages just using different packagers.
>
> For fun lets look at field 2 - PAN
>
> x'5431111111111111'
> x'35343331313131313131313131313131'
> x'F5F4F3F1F1F1F1F1F1F1F1F1F1F1F1F1' // Added dropped F
And the beauty in all this is that with jPOS, once you have the Packager
set, you can just call request.getString(2) and get a String containing
"5431111111111111" in all of these cases.
8)
--
Mark