In a job file you would tag F=MAIL to the DATABASE SEARCH command. With
an interactive session you would have to do this for individual commands
since by default the results will be displayed interactively. So for
instance you could do SEND PRINT F=MAIL instead of PRINT to get the
output as a mail file.
Eric