i have this iso8583 message0200B2200000001000000000000000800000201234000000010000011072218012345606A5DFGR021ABCDEFGHIJ 1234567890
now i want to find out in which byte array field is present.below output i need using c#. i know bitmap shows which fields are present in message. but i am still not able to get output which i needed.
Field-3 : 201234 Field-4 : 000000010000 Field-7 : 0110722180 Field-11 : 123456 Field-44 : A5DFGR Field-105 : ABCDEFGHIJ 1234567890 how can i do this ?
VulpesPosted Nov 15, 2014, 11:59 AM
The output, as you anticipated, is:
To parse ANY message, you'll need to add code in the switch statement of the GetField method for all possible field numbers - there are 128 of them in the 1987 version but field 1 is used to indicate whether there's a secondary bitmap or not.
Check out:
http://en.wikipedia.org/wiki/ISO_8583
VulpesPosted Nov 17, 2014, 7:16 AM
I don't know why this should be though I note that we're now using the 1993 rather than the 1987 version judging by the header.
I've altered the program to allow for all this and indicated where the differences lie in the comments:
The output now is:
Deepak VeerPosted Nov 17, 2014, 12:57 AM
i tried this solution on my project but it didnt work for me..
this is my iso string
1210B0308001468180000000000000000028930000000000000000000090000000001220120221122326201202210650451112035708815408UNI000000BWY 088+0000000001265250+0000000001265250+0000000000000000+0000000000000000+0000000001265250INRINR003BWY885N0620100306S16103915 1TCID20100306 990.00TO ATM CASH /8504/FBL-ALUVA BJ \ 20100306142235 8529.4820100306S16140545 1TCID20100306 1000.00TO ATM CASH /8707/FBL-MAL-KODUNGALLUR \ 20100306185946 7529.4820100308S16199304 1TCID20100307 1200.00TO ATM CASH /0557/HDFC BANK LTD. \ 20100307201044 6329.4820100311S16766738 1TCID20100311 100.00FN/BillDesk/VODAFONE/MFBK0038091373 20100311155401 6229.4820100315S17132195 1TCID20100314 400.00TO ATM CASH /8155/FBL-MOONNUPEEDIKA \ 20100314121726 5829.4820100315S17132221 1TCID20100314 200.00TO ATM CASH /8156/FBL-MOONNUPEEDIKA \ 20100314121755 5629.48
and this are the fields present in string
Message_ID = 1210
Field 003 = 930000
Field 004 = 0000000000000000
Field 011 = 900000000012
Field 012 = 20120221122326
Field 017 = 20120221
Field 032 = 504511
Field 034 = 035708815408
Field 038 = UNI000
Field 039 = 000
Field 041 = BWY
Field 048 = +0000000001265250+0000000001265250+0000000000000000+0000000000000000+0000000001265250INR
Field 049 = INR
Field 123 = BWY
Field 125 = N0620100306S16103915 1TCID20100306 990.00TO ATM CASH /8504/FBL-ALUVA BJ \ 20100306142235 8529.4820100306S16140545 1TCID20100306 1000.00TO ATM CASH /8707/FBL-MAL-KODUNGALLUR \ 20100306185946 7529.4820100308S16199304 1TCID20100307 1200.00TO ATM CASH /0557/HDFC BANK LTD. \ 20100307201044 6329.4820100311S16766738 1TCID20100311 100.00FN/BillDesk/VODAFONE/MFBK0038091373 20100311155401 6229.4820100315S17132195 1TCID20100314 400.00TO ATM CASH /8155/FBL-MOONNUPEEDIKA \ 20100314121726 5829.4820100315S17132221 1TCID20100314 200.00TO ATM CASH /8156/FBL-MOONNUPEEDIKA \ 20100314121755 5629.48
MORE TRANSACTION FLAG :N
NO OF TRANSACTION :6
this is data types and lenght
When MORE_TRANSACTION_FLAG = 'Y', kiosk sends the transaction request same as above with additional information in Field_125.