Primary + Secondary Bitmaps?

767 views
Skip to first unread message

JayPoser

unread,
Jan 10, 2008, 3:53:49 PM1/10/08
to jPOS Users
So, the FI switch I'm working with specifies their ISO messages with 2
bit maps up front like this:
Message Type n-4
P-000 Bit map, primary b-64
P-001 Bit map, secondary b-64
P-002 PAN llv-n19
P-003 Proc cd n-6
...

However, the mapping file for the GenericPackager starts with field
'0' being the Message Type, so if I continue mapping in sequential
order, the following fields are off by 1.

This confuses me to no end.

Also, here's a sample for the first 3 fields (MT+2bitmaps):
Msg-type=0810 Bit-map=8220000002000000 Xbit-map=0400000000000000
That's 32 characters, which means the bit maps are ASCII encoded,
right?

How do I reconcile having 2 bit maps up front with the packager's
mapping definition, or are those really to be considered as 1 bitmap?

Karoy

Alejandro Revilla

unread,
Jan 10, 2008, 3:56:27 PM1/10/08
to jpos-...@googlegroups.com
Secondary bitmap is managed automatically by jPOS.

Andy Orrock

unread,
Jan 10, 2008, 4:35:03 PM1/10/08
to jpos-...@googlegroups.com

This is a post I did explaining the secondary bitmap concept in depth:

http://tinyurl.com/224jvj

I believe it will clarify things for you. Implement like instructed in my
write-up.

Andy Orrock

JayPoser

unread,
Jan 10, 2008, 5:04:31 PM1/10/08
to jPOS Users
It seems I've been your only problem child this year, huh?

Well, much thanks to both of you again!

BTW, is my reading of the encoding correct?
That is the field spec says 'b-64', which means "Binary, Hexadecimal"
in their parlance.
Hexadecimal means that 0-9, A-F, right? So, I'm planning to map this
to IFA_BITMAP, as opposed to IFB_BITMAP.

I'm still learning this ISO8583+jPOS lingo, but I'm slowly catching
on, I hope...

k

Andy Orrock

unread,
Jan 10, 2008, 5:18:21 PM1/10/08
to jpos-...@googlegroups.com
No, what they're describing there is implemented via the IFB_BITMAP.

If, for example, you had bits 2, 3, 4 and 7 turned on, they're asking you to
represent that as the byte 72x not the ASCII-based representation of 37x 32x

David D. Bergert

unread,
Jan 10, 2008, 5:20:33 PM1/10/08
to jpos-...@googlegroups.com
If this is for the bitmap you will most likely use : IFB_BINARY

*IFA_BITMAP - * ASCII packaged Bitmap
*IFB_BITMAP - *Binary Bitmap

The difference between the A and B - is ascii or binary. since the spec
states that it is binary, I would go for the IFB_bitmap.

Regards,

DB

Reply all
Reply to author
Forward
0 new messages