FILENAME

FILENAME=filename

This optional parameter in PRINT statement specifies the name of a file to which the PRINT statement's tables are to be written. This should be a complete file specification including extension.