On Fri, 14 Sep 2007 11:38:15 -0400, Lizette Koehler <[EMAIL PROTECTED]> wrote:
> >Okay, I have a list of UCB ranges. I need to take the string and clump them back together. My entries are on individual lines. I am thinking a REXX might be the best process with a sort, but not sure if someone may have already have something they could share with me. > > >For example: > >1000, 1001, 1002, 1003, 1004, 100A, 100B > >Would result in 1000-1004, 100A-100B > >Does anyone know of the best way to reverse the list back into a range? > I have some code that does it in IPLINFO for supported subsystem function codes. I suppose you can rape and modify that. I remember it being a PITA to code, but looking at it now its only about 30 lines. It might just be easier to do it manually. :-) Mark -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group - ZFUS G-ITO mailto:[EMAIL PROTECTED] z/OS and OS390 expert at http://searchDataCenter.com/ateExperts/ Systems Programming expert at http://expertanswercenter.techtarget.com/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

