The ASCII is CP 285 UK ..but we have to support all .I am making sure I know my options. I realize about HLASM, i have written it for about 30+ yrs, its not an option , serious lack of experience with another colleague , I could also do C or C++.
My thinking is Unicode conversion but the client/server the STC talks to in TCPIP is in Java. My Java experience is about 0 ...i understand a little. I *think* i am looking at CP 285 to 1047..this is working on a Beta we shipped. But i need to be able to handle all the others too... With using EZACIC14 we do a call like this: * *************************************************************** * * MOVE 'US' to TABLE-NAME. * * CALL 'EZACIE2A' USING OUT-BUFFER LENGTH TABLE-NAME * * RETURNING RET-CODE. * * CALL 'EZACIA2E' USING OUT-BUFFER LENGTH TABLE-NAME * * RETURNING RET-CODE. * * * * * * TABLE-NAME Input: Name of the table to be used. We dont pass the codepage, we pass the table - entry name. Of course we tried to explain this to the customer.... One of collegues asked if we could pass the codepage number and do the translation that way, like this: CODEPAGE=285 I dont know a native Cobol way of doing this without using an Assembler table or program similar to EZACIC14/15. Does anyone else know a native Cobol way ?? On Sun, Feb 18, 2018 at 3:25 PM, J R <[email protected]> wrote: > Actually, I was primarily thinking of CSCB, CIB, use of QEDIT, etc. > > On Feb 18, 2018, at 15:00, Paul Gilmartin <0000000433f07816-dmarc- > [email protected]> wrote: > > >> Side note 2: I notice that you code in COBOL. If the fact that your > program runs as an STC is relevant, I would recommend coding in HLASM in > which control block management is more straightforward. > >> > > Control blocks for socket or control blocks for iconv? > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- *IDMWORKS * Scott Ford z/OS Dev. “By elevating a friend or Collegue you elevate yourself, by demeaning a friend or collegue you demean yourself” www.idmworks.com [email protected] Blog: www.idmworks.com/blog *The information contained in this email message and any attachment may be privileged, confidential, proprietary or otherwise protected from disclosure. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, copying or use of this message and any attachment is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and permanently delete it from your computer and destroy any printout thereof.* ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
