Scott - The PC is going to have to provide the codepage of the message data someplace in the communication protocol. Either as a separate field, separate message or as a prefix/suffix to the message data.
It will be pretty dicey to attempt to guess the codepage based on the message data. One other possibility would be to provide a configuration file to the z/OS side which says what codepage the PC is using. Then the PC would need to actually use the agreed upon codepage. Sam On Thu, Jan 9, 2014 at 5:39 PM, Scott Ford <[email protected]> wrote: > Gil, > > We send a data message from a pc, we encrypt it with AES128 , the message > is received at the host (z/OS) decrypted then converted from ascii to > ebcdic..so I am trying to figure out how to > Determine what codepage the pc uses and have z/OS convert it to the proper > EBCDIC codepage from ASCII. Does that help ? > > Scott ford > www.identityforge.com > from my IPAD > > > > > > On Jan 9, 2014, at 7:47 PM, Paul Gilmartin <[email protected]> wrote: > > > >> On Thu, 9 Jan 2014 16:35:55 -0800, Scott Ford wrote: > >> > >> All: > > � > > I have a fundamental question on Unicode, or more of how it works . I am > confused about the following scenario..���� > > PC ( data using a foreign language Unicode page, like French )� going to > z/OS and being keep in tact. Names and address type data. As the > application do I have to query the incoming data and find out what the > Unicode CECP is then translate to the desired ? or how does it work ? > > > > I believe, yes. What is "the desired ?" > > > > iconv may be your friend here, either as a shell command or as a library > subroutine, > > after transferring the file in BINARY. > > > > Will Co:Z let the user specify the target code page when transferring a > file? > > > > -- gil > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
