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.
So where are the other-than-C language interfaces described? Peter -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Tom Harper Sent: Friday, March 31, 2023 11:47 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Unzip on z/OS ? Michael, The information is here on pages 127 to 128. IBM states specifically that the callable interfaces can be invoked by COBOL. I have been using the authorized interface for zEDC for several years now, and I will be the first to admit that the documentation is obtuse and hard to follow with few examples, but it does work. Once you get it working, the technology is impressive. But not for the feint of heart. Tom Harper Phoenix Software International https://urldefense.com/v3/__https://www.redbooks.ibm.com/redbooks/pdfs/sg248259.pdf__;!!Ebr-cpPeAnfNniQ8HSAI-g_K5b7VKg!KQuC-N294Kx-lC2OwHUkCB3LzjGR2QnfnFh-rbsrLMLeH1bVEXRuLFy9uc7dErg_Qp2kkgeQz9cv-3Xxk-x6n2GCVqt1QsqM$ Sent from my iPhone > On Mar 31, 2023, at 11:14 AM, Schmitt, Michael <michael.schm...@dxc.com> > wrote: > > I'm missing how you would call zEDC from a COBOL programming running in > CICS. The Redbook has no examples - it just says there's a callable service > for High Level Languages. But the Services for HLL languages just says that > unauthorized programs can use a Unix-side library. > > And google has a dearth of hits for COBOL calling zEDC. > > -----Original Message----- > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On > Behalf Of Tom Harper > Sent: Thursday, March 30, 2023 5:07 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Unzip on z/OS ? > > Michael, > > I would consider using zEDC which can be called by authorized and > non-authorized programs in z/OS, and C and JAVA. > > It’s very fast, and requires zEC12 GA2, zBC12, z13 or later. You must have > certain PTFs applied. > > z15 and later machines have it built in. > > This is a standard format and can be used on non-IBM systems. > > If applicable, you can do it without program changes using DATACLAS. > > Tom Harper > > Phoenix Software International > > Sent from my iPhone > >> On Mar 30, 2023, at 5:05 PM, Schmitt, Michael <michael.schm...@dxc.com> >> wrote: >> >> What if the requirement is to compress or decompress an area of memory, by >> calling something from a COBOL CICS transaction running on z/OS, in a way >> that it could be compatibly decompress or compress by a program running on >> another platform? >> >> For example: CICS > compress > send across some communication path > >> transaction on Linux > program > decompress > same data as started >> with >> >> The actual algorithm isn't critical, as long as it is compatible on both >> ends. >> >> The compressed data isn't in a file, nor are jobs being run. This is >> transaction processing. >> >> My preference would be an algorithm that has the compression ratio of >> 7zip with the performance of RLE. 😊 >> >> >> -----Original Message----- >> From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On >> Behalf Of Rahim Azizarab >> Sent: Friday, March 24, 2023 4:05 PM >> To: IBM-MAIN@LISTSERV.UA.EDU >> Subject: Re: Unzip on z/OS ? >> >> File #865 on Downloads at cbttape.org >> >> I used it many times. >> >> >> regards; >> >> Rahim -- 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