On Wed, 19 Apr 2023 18:49:14 -0500, Mark Zelden wrote: >On Wed, 19 Apr 2023 13:44:39 -0400, David Spiegel wrote: > >>Hi, >>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 >>2) LMOPEN ... LMINIT ... LMPUT >>3) Something else >>4) Makes no difference > > >You didn't explain much else other than the desire to build the PDS. > >How important is the actual performance / wall clock time? Is it one off? >Will it run daily? >Hourly? Every 15 minutes? > >I would just use whatever method you are most comfortable with depending on >that answer. But if you are already using REXX, I don't know why you would >then >use ISPF services on top of that. When I've done similar things I've used >ALLOC / EXECIO. > ISPF services can avoid 99.99% of the ALLOC overhead.
Kolusu's suggestion depends on PDSE for concurrency. Is that acceptable, or is PDS a requirement. What about a UNIX directory as an alternative? No ENQ entanglement. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
