× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



If you put the ASCII control codes x'0b' and x'0d0a' into the string that gets translated, they'll come out wrong - either you send them separately, untranslated, or you find out what EBCDIC values get converted to these. You might take a look at the translation table for EBCDIC to ASCII - WRKTBL and look at the descriptions for what you want.

HTH
Vern

At 06:25 PM 12/9/2003 -0500, you wrote:
Thanks Scott,

I agree. I can't seem to get the vendor to tell me what they want to recieve
at their end. Am I correct in interpretting your example that the x'0b' is
sent by itself (untranslated) and then the translated data is sent?

In my program I am putting the x'0b' and the start of the field, then
concatenating the data and the x'0d0a', and then translating that entire
string to ascii which is what gets sent to the server.

Also, when I do the write, I do get a response that tells me how many bytes
were sent, then the program waits for a reply (where it sits and waits at
the read statement). Thanks for the reply.

Regards, Gerald Kern



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.