Solved

ASCII <=> EBCDIC Conversion - ASP

Posted on 2003-10-22
1
375 Views
Last Modified: 2010-05-18
Hello

I am developing an ASP application that gets data from a DB2 database on an AS/400. For speed reasons I want to use Sockets to communicate, but this means converting between ASCII and EBCDIC (including packed decimal fields).

Can anyone help with that?

Thanks
James
0
Comment
Question by:thebigo
1 Comment
 
LVL 4

Accepted Solution

by:
mistyrae earned 250 total points
ID: 9603698
James,

Here is an article with some sample code from MS on converting from ASCI to EBCDIC. The code sample is for VBA, so it will need to be modified, but only slightly, for use in ASP.

http://support.microsoft.com/default.aspx?scid=kb;en-us;216399

- misty
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question