I know that on some versions of sysbase I am able to pipe results to a text file using >> filname.txt this does not seem to work in sysbase 5 some more powerful command should exist for this as the >> is aparently shorthand added in for version 7