> -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:ibm-m...@bama.ua.edu] On Behalf Of Shmuel Metz (Seymour J.) > Sent: Saturday, May 08, 2010 7:48 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Amazing article. > > In <a6b9336cdb62bb46b9f8708e686a7ea005c021b...@nrhmms8p02.uicnrh.dom>, > on 05/08/2010 > at 07:11 AM, "McKown, John" <john.mck...@healthmarkets.com> said: > > >Not any from IBM that I am aware of. IBM's method implys a "stack" of > >GDGs, > > There is no "IBM's method", only IBM's method*s*; as Larry Wall > claims, TMTOWTDI. In particular, you can read the catalog, extract the > GDS names and process them individually. You can even maintain a > record of what you've done with which. > > >There is not an IBM way to process them from oldest to youngest. > > Sure there is; use, e.g., CSI, then allocate each GDS that is of > interest and do what you want with it. If you're writing in Perl, use > file globs. > > >you could do it with their "catsearch" program. > > Is that a wrapper for CSI? > > -- > Shmuel (Seymour J.) Metz, SysProg and JOAT
I was inexact. I was thinking totally in terms of relative generation numbers. There is no JCL construct which says: "Give the the oldest (lowest numbered)existing GDG". There is for the question: "Give me the youngest (highest numbered) existing GDG", that is gdg(0). Neither is there a __SIMPLE__ API to answer that question. Yes, I know about CAMLST / LOCATE, and IGGCSI00, and scraping a LISTC output. I said, and mean (brain dead), SIMPLE. -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * (817)-961-6183 cell john.mck...@healthmarkets.com * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html