Wendy Smoak wrote on 07/22/2004 07:26:59 PM: > From a UniBasic program, why would you open a file, read a record, write > it back to the same file under a different key, then delete the original > record, when you could just: > > X.CMD = "CNAME filename ":X.ID:',':X.NEW.ID > EXECUTE X.CMD
The overhead of the execute would be greater than if you did it programmatically. CNAME will be doing everything you'd be doing, but there will also be the overhead of the execute. If you're doing it once within a program, the difference will be negligible. But don't think about doing it in a loop. Tim Snyder IBM Information Management Consulting I/T Specialist , U2 Professional Services ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
