Hi Gil,
If I understand correctly ...
"ALLOC F(X) DA('MY.PDS') SH REU"
Do i=1 to n
"ALLOC F(Y) DA('MY.PDS('member')') SH REU
"EXECIO * DISKW (FINIS
End
Is this correct?
Thanks and regards,
David
On 2023-04-19 14:10, Paul Gilmartin wrote:
On Wed, 19 Apr 2023 13:44:39 -0400, David Spiegel wrote:
I am writing a Rexx Exec (Batch TSO) to build 10,000+ members in a PDS
(FB/159/27984).
The average member size is 900 lines.
In terms of performance, which method should I use?:
1) ALLOC ... EXECIO DISKW
Performance is likely to be dominated by allocation overhead.
It was once reported here that allocating another DDNAME to the same data set
*and*leaving*it*allocated* throughout the process improves performance by
shortcutting ENQ overhead.
2) LMOPEN ... LMINIT ... LMPUT
Allocate only once; LM OPEN by DDNAME, not DSN.
3) Something else
4) Makes no difference
What's the source of your data? Isn't there a utility that will
create multiple PDS members from a single PS input?
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN