Click here to Skip to main content
15,894,362 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear All

I need to parse the Mastercard IPM file.The file is in EBCDIC format.I could change the file into Ascii.But i can't read the Primary bitmap and secondary bitmap of the IPM.Anybody please give a solution to read Masteracrd IPM file? 


What I have tried:

I tried converting EBCDIC TO ASCII but after that i dont know what to do? Please help me
Posted
Updated 7-Jul-21 22:15pm

If the file is ASCII, I assume any images are base 64 encoded?
 
Share this answer
 
v2
Comments
AkashDaniel 21-Jan-21 0:01am    
Christian Graus
You sent something.Please tell me correctly.
Christian Graus 21-Jan-21 0:04am    
I just googled and gave you a link, then realised it was useless. I thought it was an article. But if you have ascii, what form do the images take inside that? Are they missing or are they a string?
You must not convert the BITMAP from EBCDIC to ASCII. You must read the file byte by byte and convert only the "data" part. The record length, bitmap and DE55 (chip data) must not be converted from EBCDIC to ASCII.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900