packing, unpacking field 127

32 views
Skip to first unread message

M. Aatif Ghafoor

unread,
Oct 27, 2009, 1:47:54 AM10/27/09
to jpos-...@googlegroups.com
Hello Everybody,

I have some question about field 127, how the sub-fields are packaged into it? do they have specific size and index for each?

How do I know that which sub-field is present and which is not?

-------
Aatif

Chhil

unread,
Oct 27, 2009, 2:40:42 AM10/27/09
to jpos-...@googlegroups.com
Your specification should tell u that there would be a bitmap for accessing fields inside 127.  
The field definitions vary from network to network. 

-Chhil

M. Aatif Ghafoor

unread,
Oct 27, 2009, 6:47:09 AM10/27/09
to jpos-...@googlegroups.com
ok, I was googling for the same problem when I got this page and saw the following line;

String s = m.getString ("127.2") if you want to get the Switch Key.

My question is, what kind of sub-fields' definition is being followed here? Is there any generic schema, if we don't have one specified by our network.

Regards,
--
-------
Muhammad Aatif Ghafoor
Team Lead Developer
Paybox Pakistan Pvt. Ltd.
56-XX, DHA
Lahore,
Pakistan
Cell: 92-333-8125575
Tel: 92-42-111-PAYBOX (729269)

Mark Salter

unread,
Oct 27, 2009, 7:06:48 AM10/27/09
to jpos-...@googlegroups.com
M. Aatif Ghafoor wrote:
> ok, I was googling for the same problem when I got this
> page<http://osdir.com/ml/java.jpos.devel/2008-07/msg00020.html>and
> saw the following line;
>
> *String s = m.getString ("127.2") if you want to get the Switch Key.*

>
>
> My question is, what kind of sub-fields' definition is being followed
> here?
Looks like this field 127 contains a bitmap.

> Is there any generic schema,

No, each interface can dictates it's own use (or not) of field 127.

As Chhil indicates the structure of your field 127 drives the mechanism
of extracting any sub-components.

How is your field 127 structured? Does it have a bitmap, or does it
contain fixed length mandatory sub-components?

> if we don't have one specified by our network.

If you have field 127, then you should also have the definition of it's
content/structure. This definition must include details of any
sub-components and how their presence - if conditional - is indicated.

I guess there is something in your field 127 that you want to access?
If so, how did you know you needed or where it is to be located?

--
Mark

chhil

unread,
Oct 27, 2009, 7:06:24 AM10/27/09
to jpos-...@googlegroups.com
Look at postpack.xml for this one.

-chhil
Reply all
Reply to author
Forward
0 new messages