On Tue, 17 Nov 2015 18:41:38 +0100, Lucas Rosalen wrote: >8th email on the thread describes why and the "problem" to solve.... > That seems to be: https://listserv.ua.edu/cgi-bin/wa?A2=ind1511&L=ibm-main&P=344282 Thanks.
Keep an external index? z/OS UNIX directory search is fast; I don't know how it compares to Classic catalog search. Shadow your G00*V00 names with empty files in a UNIX directory and use that as an index. Bizarre? Well, before VSAM programmers used empty PDS members as similar placeholders. Directory search in z/OS may be faster than in competing UNIXen because z/OS indexes its directories. Don't know about the others. And readdir() will return the smallest (oldest?) G00*V00 first, so you could bail out there. VSAM index? PDSE with empty members used as index? Deleting the lowest named PDS member is the worst performance case; don't know about PDSE. How many is "lots"? What makes "V00" ever Vnn, where N<>0? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN