On Wed, 17 Jun 2020 09:24:58 -0500, Kirk Wolf wrote:
>
>I wasn't thinking of using the "all members" form of cp ...
>I'm curious - how much time did you save by preallocating the PDS?
>
I'm mystified that it made a difference since Lionel never used the allocate
"dd" in the call to "cp". Only SVC 99 knows.
>I would think that you might actually want ISPF-style enqueues.
>
I thought later of OGETX/OPUTX, which piggybacks on ISPF.
>On Wed, Jun 17, 2020 at 7:22 AM Lionel B Dyck wrote:
>
>> Kirk - just allocating the dataset prior to the cp was faster - and that
>> was without passing the //DD.
>>
>> Alloc f(dd) shr reuse ds('my.pds')
>> Bpxwunix - cp -v -S a=.txt "//'my.pds'" .
>> Free f(dd)
>> -----Original Message-----
>> From: Kirk Wolf
>> Sent: Wednesday, June 17, 2020 7:03 AM
>>
>> - With cp, there won't be any way to avoid opening the PDSE for each
>> member, but you might get some improvement by allocating a DD to the PDSE
>> and then passing //DD(member) to cp, ...
>>
I believe that construct is not available in z/OS C RTL, but various ISVs
provide it.
...
>> FWIW: It's a pity that the IBM C library doesn't have any support for
>> BLDL/NOTE/POINT processing of PDS/Es -- see my old RFE and vote if you
>> agree:
>> https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=80811
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN