This FILENAME statement assigns a fileref to the file that will contain the HTML output. MOD is a host-specific option for the UNIX operating environment that opens the file in update mode.
filename reports 'external-file' mod;