1. Sufyan Maghur
  2. PowerBuilder
  3. Thursday, 2 November 2023 14:14 PM UTC

Still working on communicating with CICS (Mainframe) using RESTClient and Communications is great :) BUT the CICS Mainframe Module is Expecting the SRING to be in EBCDIC... I couldn't find a FUNCTION in the CoderObject to do so... Is there anyone with knowledge to convert a STRING to that FORMAT?

René Ullrich Accepted Answer Pending Moderation
  1. Thursday, 2 November 2023 14:39 PM UTC
  2. PowerBuilder
  3. # 1

Hi Sufyan,

I have never used this but in this thread I found an example how to do this using Windows API WideCharToMultiByte or MultiByteToWideChar functions.

https://www.tek-tips.com/viewthread.cfm?qid=1288126

Maybe it helps you.

Regards, René

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Thursday, 2 November 2023 14:25 PM UTC
  2. PowerBuilder
  3. # 2

Hi, Sufyan - 

You'll likely have to code this on your own. However, the web can be helpful:

    https://www.ibm.com/docs/en/iis/11.7?topic=schemas-ascii-ebcdic-conversion-tables

Best regards, John

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.