Hi Steve
You are obviously absolutely correct, it IS VERY SLOW and I knew that in advance. Nevertheless, I wrote it and it worked for me (I have only 41 members and that might grow to around 50, no more). However, Sam Golob of the CBTTAPE (
www.cbttape.org) claims that PDSLOAD or its sister UPDTE (file093 on the CBT tape) should support VB and I might give it a try some time.
BTW, an interesting anecdote about Rexx speed. On a previos project, I used some Rexx process on Linux (downloaded and used the ooRexx for Linux) to loop on massive directories. On a directory of 19000 files it worked for about 20 minutes. OK, so I moved it to the "production" platform, an AIX machine, with ooRexx for AIX. It took 4 (FOUR) hours. Since Linux was not an option and my files originated from the mainframe anyway, I moved it to the mainframe, eliminated allocate/open/close/free on the output side (wrote a huge sequential file with './ ADD NAME=whatever before every member) but could not eliminate that same allocate/open/close/free for each and every input member as Steve had indicated above. It took a tolerable time of about an hour. So as usual, our good ol' mainframe beats any st____ng Unix, any time, despite the arcane file system. The only question is HOW DO THEY DO IT in Linux?!?
ZA