It appears there is still the 0 record in queue bug under some circumstances in beta.6 on FreeBSD. I ran gdb against the failing file last night and again it isn't printing any output because the first record after the sort is NULL. Peter Van Epp / Operations and Technical Support Simon Fraser University, Burnaby, B.C. Canada