المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Umm...wow...request from one of our IBM guys - He needs to send an EBCDIC blob(not co



C# Programming
05-19-2009, 11:41 PM
Yeah..The title says most of it. One of our IBM Mainframe guys came to me earlier asking for advice and I didn't know what to tell him. There is a column on one of their tables that is a "true" BLOB. It can contain an image, a doc, a txt, an mpg.....and we have a process in place that can receive the BLOB, convert it from EBCDIC to ASCII, then send it to a C# app that can introspect the file type and launch it in the Citrix app appropriate to that type.

However, THIS request was to attempt to bypass the EBCDIC to ASCII conversion("too expensive") and to send the file(let's say it is a jpg file) directly to MS Paint(very contrived..This is not an MS Paint specific question) and have MS Paint be able to receive the image in EBCDIC rather than ASCII.

I was telling him that there's no way that our C# process can receive an EBCDIC Blob and bypass a conversion to ASCII because x86 processors can't deterministically access EBCDIC encoded data. Does anybody have anything that I could tell him that is more authoritative than the http://www.barakasoft.com/script/Forums/Images/smiley_OMG.gifhttp://www.barakasoft.com/script/Forums/Images/smiley_sigh.gif http://www.barakasoft.com/script/Forums/Images/smiley_confused.gif http://www.barakasoft.com/script/Forums/Images/smiley_WTF.gif http://www.barakasoft.com/script/Forums/Images/smiley_squeamish.gif look and a "can't be done" that was the only thing I had to give him?

"I need build Skynet. Plz send code"

modified on Tuesday, May 19, 2009 3:38 PM