>
> 00000 00 16 01 01 00 32 00 00 00 00 00 00 00 00 00 00 | .....
> 2..........
> 00010 00 00 00 00 00 00 00 08 00 82 20 00 00 00 00 00
> | .......... .....
> 00020 00 04 00 00 00 00 00 00 00 10 12 10 55 20 00 20
> | ............U .
> 00030 84 00 01 00 32 00 00 16 01 01 00 32 00 00 00 00 | ....
> 2......2....
> 00040 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00 82
> | ................
> 00050 20 00 00 00 00 00 00 04 00 00 00 00 00 00 00 10
> | ...............
> 00060 12 10 55 31 00 20 85 00 01 | ..U1. ...
>
> In the above message first five digits are line numbers.
No, they are actually the offset in the dump at which each line of data
starts.
>
> They say that they want the message in HEX format... Please suggest me
> which channel I need to use to send the message in HEX-Format.
This is far too vague to be a useful description to help pick a
packager, you need to ask them for more information, in fact ask them
for their interface specification.
--
Mark
> We exchanged a Message Specs with a bank which says as below
> Field Attr Format
> Name values Remarks
> Fixed N-4
> Message Type 0800
> Fixed B-16
> Primary Bitmap
> 1 Fixed B-16
> Secondary Bitmap Required if 65-128 are present
> 7 Fixed N-10
> Transamission Dt & Tm
> 11 Fixed N-6 STAN
> 70 Fixed N-3 Network
> id code 001 - sign-on; 002 - sign-off; 301
> - Echo
>
> So I used a VAP Channel
You need to know that the Channel does not define the message structure
(field make up). The Packager does. A Channel just controls how the
message is wrapped for transmission over a network.
> and sent the message and below is the message
> what it is being transmitted
> 08008220000000000000040000000000000010151313360136120001
This should be :-
x'08008220000000000000040000000000000010151313360136120001'
> So when separated it looks like this:
> 0800
> 8220000000000000
> 0400000000000000
> 1015131336 - Field 7
> 0136120 - Field 11
> 001 - Field 70
>
> So i think I am sticking to the doc that is being exchanged.
Not truly; as I have indicated above (and you are about to show), you
are not sending character data, but a binary format.
>
> They are able to read the message at their TCP layer as:
>
> Message 1
> Header (2 bytes) -->
> 00000 32 38
The length in ASCII - 28 bytes follow, length is exclusive of length length.
| 28
> Data (28 bytes) -->
> 00000 08 00 82 20 00 00 00 00 00 00 04 00 00 00 00 00
> | ... ............
> 00010 00 00 10 15 07 50 59 00 36 39 00 01
> | .....PY.69..
> #### End of the message dump (30 bytes) ####
>
> But the bank says that they want the message as below.
> 30383030
> 38323230303030303030303030303030
> 30343030303030303030303030303030
> 31303135313332353034 - Field 7
> 303133363232 - Field 11
> 30303031 - Field 70
>
> So now I want to know if I am sending correctly or not and also, if I
> have to make changes at my end, then what I need to do to that in the
> format they are expecting.
You need to change or pick another Packager, as a starter, your MTI
(0800) should be using a field format of IFA_NUMERIC (or IF_CHAR), the
user guide (and this mailing list) hold the breakdown of the name
derivation/meaning...
If they like your 'network packet' then your Channel is correct (right
length format, structure and length value).
Your Packager selection/construction is where you need to focus.
--
Mark
> I actually want to add one more line to give you more details. The
> Bank is using IST Switch.
I'm not familiar with that, but it might be familiar to other people
here, thanks.
--
Mark
Just wanted to ensure that you looked and adjust each field in your
messages - including the ones used in requests and responses?
I want to make sure you have not just done the MTI.
8)
--
Mark