Or simply EXECUTE "COUNT file [selection_criteria]" You could build your own function....
Hth Colin Alfke Calgary, Canada > -----Original Message----- > From: Symeon Breen > > In udt there is a system function after you have done a select, > system(11). > E.g. EXECUTE "SELECT file" ; NUM.OF.RECORDS = SYSTEM(11) > > -----Original Message----- > From: T Stokes > > I am trying to remember a Universe function that returns the number of > records in a file. > Something like this. > > OPEN 'SOMEFILE' TO SOMEFILE ELSE STOP 201,"SOMEFILE" > > NUM.OF.RECORDS = UNKNOWNFUNCTION(SOMEFILE) ------- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/