You can make use of the change in the delimiter flag. I have a remove boiler plate; DELIM = -1 ATT = 1 VAL = 1 SV = 1 LOOP REMOVE PIECE FROM RECORD SETTING DELIM CRT '<':ATT:',':VAL:',':SV:'> = ':PIECE BEGIN CASE CASE DELIM = 2 ATT += 1 VAL = 1 SV = 1 CASE DELIM = 3 VAL += 1 SV = 1 CASE DELIM = 4 SV += 1 END CASE WHILE DELIM DO REPEAT You don't need all of the above. All you need to know is that if your VAL is 1 you have a CUST.NUM, VAL = 2 a CUST.DESC and when your ATT changes or you hit the end, you need to process
Bruce M Neylon Health Care Management Group ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/