Looking at it again, I noticed that John was looking for range of 0 to 9 as the last character in the second and fourth nodes of his dataset. I setup the filtlists to look for 1 though 9. The filtlists should have been: FILTLST NUMA INCLUDE(%%0,%%1,%%2,%%3,%%4,%%5,%%6,%%7,%%8,%%9) FILTLST NUMB INCLUDE(%%%0,%%%1,%%%2,%%%3,%%%4,%%%5,%%%6,%%%7,%%%8,%%%9)
Regards, John > Very elegant! I like it. > ddk > > > >>FILTLST NUMA INCLUDE(%%1,%%2,%%3,%%4,%%5,%%6,%%7,%%8,%%9) > >>FILTLST NUMB INCLUDE(%%%1,%%%2,%%%3,%%%4,%%%5,%%%6,%%%7,%%%8,%%%9) > > >>IF &DSN EQ AM2.DE%.HESD.SOR%.** && &DSN(2) EQ &NUMA && > >> &DSN(4) EQ &NUMB THEN DO > >> .... > >> END ---------------------------------------------------------------------- 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