On 16/07/2021 12:20 am, Seymour J Metz wrote:
I used to access the DCB for PL/I programs (both F and "optimizing"), but the
relevant interfaces are no longer documented and I'm not aware of any mapping macro for,
e.g., the FCB.
Can you make a business case for IBM to open up the interface? If so, consider
a REQ or SHARE requirement.
IBM would never accept a FIT and rightly so. The FILE structure returned
by the fopen() factory function is designed to be opaque, what is called
encapsulation or information hiding in OO languages. fopen() can open
BSAM, QSAM, VSAM, z/OS Unix files and hiperspaces.
The only fields that are exposed are the read/write callback functions,
the buffer and some state information so fget() fput() etc can be
implemented using macros for optimization reasons. I dread to think why
anybody would want to poke around inside the internals of an
Abstract Data Type.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN