Using UniData TCL (we're on 6.012), anyone ever notice that this works: :SELECT FILENAME SAVING EVAL "FIELD(Cust_Nbr, '*', 1)"
...but this does not: :SELECT FILENAME SAVING UNIQUE EVAL "FIELD(Cust_Nbr, '*', 1)" Since I get an "Illegal attribute name for sort" error, I suppose it's because the engine attempts to do its sorting function before executing the EVAL. What's odd, I've heard that it works fine on Universe. So I made an i-desc dictionary identical to the above EVAL string, and then the UNIQUE option worked fine. I thought EVAL's were treated the same as i-desc's, hoping that that TCL would compile them before it tried to execute any of the other keywords in the sentence. I wonder if there's a better workaround than creating a temporary dictionary entry... Mark J. Hammer Information Systems Servend International (MBE) 812-246-7000 x360 ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/