Hi all, Does anybody have a neat way of determining the number of non-deleted records in a KSAMXL file, other than doing a fcopy or print ? We have a file where the eof typically shows 100000+ records and it seems a bit OTT to have to read the whole file just to see how many live records there are. Tad. ----------------------------------------------------------------------------- This message is confidential; its contents do not constitute a commitment by Paribas except where provided for in a written agreement between you and Paribas. Any unauthorised disclosure, use or dissemination, either whole or partial, is prohibited. If you are not the intended recipient of the message, please notify the sender immediately. Ce message est confidentiel ; son contenu ne représente en aucun cas un engagement de la part de Paribas sous réserve de tout accord conclu par écrit entre vous et Paribas. Toute publication, utilisation ou diffusion, même partielle, doit être autorisée préalablement. Si vous n'êtes pas destinataire de ce message, merci d'en avertir immédiatement l'expéditeur.