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