Solved

ASCII <=> EBCDIC Conversion - ASP

Posted on 2003-10-22
1
369 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

895 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now