On 2020-10-07 11:00, Jeremy Nicoll wrote:
On Wed, 7 Oct 2020, at 04:03, Wayne Bickerdike wrote:

On a different note. I just compared EDIT macro performance versus
IPOUPDTE. IPOUPDTE was about 600 times faster.

Is that a macro written in Assembler, or REXX?

It's an IBM program, a "reconstituted" version can be found @ <http://www.jaymoseley.com/hercules/cbt_ware/pdsupdte.htm>. From that page:

"PDSUPDTE is a reconstituted version of the IPOUPDTE program (also distributed as CPPUPDTE). It provides the ability to apply a group of search/replace type modifications to JCL or control cards contained in all members of one to several libraries (Partitioned Datasets). It can also be useful for searching for and changing fields in source code statements.

PDSUPDTE is located in File #65 of the CBT Overflow tape and is part of a collection submitted by the Los Angeles User Group."

How much of what the macro was doing was "glue logic" (if it was
in REXX) or scanning through the file line by line, compared with
calling editor commands (which one would expect to be fairly
efficient)?

If you need to change one member, it's OK. Run it in batch on a PDS with a few hundred members, and it burns CPU like there is no tomorrow.

Robert
--
Robert AH Prins
robert.ah.prins(a)gmail.com
The hitchhiking grandfather @ https://prino.neocities.org/indez.html
Some useful(?) REXX @ https://prino.neocities.org/zOS/zOS-Tools.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to