The FILENAME statement assigns a fileref to the file that will contain the HTML output.
filename reports '
external-file
';