Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sockets - EBCDIC to ASCII

Status
Not open for further replies.

fjweaver

Programmer
Oct 18, 2002
11
GB
We have a cobol system on the AS400. We are connecting via sockets to PC's, Unix , etc in which data is held in ASCII format.
What is the best way of sending and converting the data from EBCDIC so that it is received in ASCII format?

thanks
Frank
 
sorry - I should also have mentioned that we are using a 'c' program called from cobol to perform the 'socket' stuff
 
Hi,
You can use this function :
QDCXLATE(xlate_length, buffer, "QEBCDIC ").
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top