On Tue, 9 Jul 2013 12:51:49 -0500, Kirk Wolf wrote:
>This technique also works in C or Java.
>
>Unfortunately, the overhead of allocate/open/close/free for each member
>does not yield good performance if that matters for your application.
>
>It is a pity, IMO, that the C library does not include BPAM extensions to
>fopen()
>
Rexx, likewise. It would be so easy in syntax:
fopen( "//DD:SYSLIB(MEMBER)", ... );
I believe SAS/C does something like this.
It's a pity that QPAM isn't invented, sparing implementors
a level up the discomfort of block-mode access.
Or, use UNIX files instead of legacy. No allocation needed, and
the open/close overhead is vastly less. Are all the BPX1* routines
available in COBOL?
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN