EBCDIC payload with binary (BCD) length

92 views
Skip to first unread message

ymsa...@gmail.com

unread,
Jul 3, 2018, 9:00:04 AM7/3/18
to jPOS Users
Hi,

    I am looking for a class that can take in EBCDIC as payload and with binary as length field. I was looking thru the http://jpos.org/doc/javadoc/org/jpos/iso/package-summary.html
and found this-> IFE_LLLEBINARY     BINARY version of IFE_LLLCHAR Uses a 3 EBCDIC byte length field, and EBCDIC content

but the length I need is in binary.

Appreciate if someone can throw some ideas around.


Thanks.
Saw


Alejandro Revilla

unread,
Jul 3, 2018, 9:02:20 AM7/3/18
to jPOS Users
I think IFB_LLLHECHAR is your friend.



--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+unsubscribe@googlegroups.com.
To post to this group, send email to jpos-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jpos-users/a0d80023-c970-4449-960f-5349ae4b4b2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ymsa...@gmail.com

unread,
Jul 3, 2018, 10:30:28 AM7/3/18
to jPOS Users
Hi,

    Thanks for the response. I actually tried that, the problem I see is that if the length is more than 9, it will display the length as 00 0F, instead of 00 10.


Thanks.
Saw


On Tuesday, July 3, 2018 at 9:02:20 PM UTC+8, Alejandro Revilla wrote:
I think IFB_LLLHECHAR is your friend.



On Tue, Jul 3, 2018 at 5:37 AM, <ymsa...@gmail.com> wrote:
Hi,

    I am looking for a class that can take in EBCDIC as payload and with binary as length field. I was looking thru the http://jpos.org/doc/javadoc/org/jpos/iso/package-summary.html
and found this-> IFE_LLLEBINARY     BINARY version of IFE_LLLCHAR Uses a 3 EBCDIC byte length field, and EBCDIC content

but the length I need is in binary.

Appreciate if someone can throw some ideas around.


Thanks.
Saw


--
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage. Please support jPOS, contact: sa...@jpos.org
---
You received this message because you are subscribed to the Google Groups "jPOS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jpos-users+...@googlegroups.com.

Mark Salter

unread,
Jul 5, 2018, 6:35:13 PM7/5/18
to jpos-...@googlegroups.com, ymsa...@gmail.com
On 03/07/18 15:30, ymsa...@gmail.com wrote:
> Thanks for the response. I actually tried that,
When?

> the problem I see is that if the length is more than 9, it will
> display the length as 00 0F
Yes a BINARY length!

> , instead of 00 10.

Which is not BINARY unless your length was 16 bytes (also greater than 9!).


If your length is decimal 10, then you want BCD.


--
Mark ( bitcoin:1Gzs3FWw7oEDxLMEs8aGBUZdmpi5Q9nG2D )

ymsa...@gmail.com

unread,
Aug 2, 2018, 2:21:41 AM8/2/18
to jPOS Users
Hi Mark,

   Thanks for the reply. My response below:
> Thanks for the response. I actually tried that,
When?
 <saw> I tested it in my own program, I didn't post it here. Sorry for not being clear.

If your length is decimal 10, then you want BCD.
<saw> If length is decimal 10, BCD will be the one to use, ok, understood. Which one should I be using then?



On Friday, July 6, 2018 at 6:35:13 AM UTC+8, Mark Salter wrote:
On 03/07/18 15:30, ymsa...@gmail.com wrote:
> Thanks for the response. I actually tried that,
When?
   <saw> I tested it in my own program, I didn't post it here. Sorry for not being clear.
Reply all
Reply to author
Forward
0 new messages