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 <[email protected]> On Behalf Of Ed
Jaffe
Sent: Tuesday, April 4, 2023 1:30 PM
To: [email protected]
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."
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN