To be more clear: I am asking for examples of non-C-language un-authorized HLL calls to the "zlib" un-authorized functions and a list of any COPY/INCLUDE members necessary to accomplish those calls, not the zEDC authorized functions nor the hardware-level DFLTCC instruction.
Peter -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Farley, Peter Sent: Tuesday, April 25, 2023 11:53 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: How to call zEDC functions from an HLL other than C [was: RE: Unzip on z/OS ?] I submitted an RCF on the subject of examples for actually using zEDC functions from HLL's other than C not long after this message chain and received no response at all from the RCF team. A follow-up email requesting status or at least an acknowledgement that the documentation addition suggestion had been received did get a response, which was: "Thank you for reaching out to IBM about your experience with our Documentation feedback. A response is not provided for feedback sent to your product’s documentation team. All comments are received and evaluated to help improve the content experience. Any resulting updates to the product documentation are then reflected in the current release of the product. Any issues that require a response should go through IBM support." Since neither the zEDC redbook to which Tom Harper posted a link nor the MVS Callable Services for HLL's manual have any examples of how to ACTUALLY use zEDC functions from any HLL except C, has anyone on this list actually coded invocation of zEDC services from an HLL other than C who is willing (and is permitted) to share how they accomplished that task? Since IBM hasn't documented it (at least not so far) I guess we have to do it ourselves. Peter -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Farley, Peter Sent: Tuesday, April 4, 2023 2:17 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Unzip on z/OS ? You are probably right about that. I will start one and see what they reply. Peter -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Steve Thompson Sent: Tuesday, April 4, 2023 2:07 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Unzip on z/OS ? A similar issue happened with BPXWDYN. COBOL can't set R0. So a new entry point in BPXWDYN was created that handled that problem. This all started with me writing an RCF to tell them that they didn't have a COBOL example. Then a C programmer (I'm guessing) wrote the COBOL code. You can write c in any language (one of those type of things). Problem is, it would confuse most COBOL programmers that, well, it would confuse most COBOL programmers, and so I suggested a few changes to solve the issue. Then one of their own people onfirmed what I said, it would be confusing to most COBOL programmers. And so it appears that IBM doesn't have many product developers that actually know COBOL..... That has been my take-away from that exchange. So you may need to do an RCF, and you may go a few rounds with them. Just say'n'. Steve Thompson On 4/4/2023 1:46 PM, Farley, Peter wrote: > The V2R5 Callable Services manual SA23-1377-50 pp 191-196 describes ONLY the > C language zlib library and functions. There is no material on how to use > those functions from any other language than C. > > At the very least there is no mention of COBOL COPY members for the parameter > definitions nor any mention of a COBOL-compatible link library for inclusion > in an executable module. Only the POSIX C link library and functions are > described. > > Am I missing something? Like maybe the zlib C functions are compiled with > "#pragma linkage(entryname,OS)"? There is no such statement in that manual > at all. > > -----Original Message----- > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On > Behalf Of Ed Jaffe > Sent: Tuesday, April 4, 2023 1:30 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Unzip on z/OS ? > > On 4/4/2023 10:22 AM, Farley, Peter wrote: >> I agree with Michael, neither that redbook nor the current (V2R5) z/OS >> Callable Services manual even mention COBOL or any other HLL interface or >> API. Only the C language zlib library and functions are described. > Tom provided the link to the book and on page 128 it states that the > callable services "... are for use by any program coded in C, COBOL, > Fortran, Pascal, or PL/I, and this information refers to programs > written in these languages as high-level language (HLL) programs." -- This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN