Reporting > Batch Documentation Facility > Available commands > DOS: Manage the formatting process > Changing the report file
  
Changing the report file
Use the REPORTFILE subcommand to change the reporting file that is used for a DCF file command set.
Syntax
DOS { REPORTFILE file-name }
The file-name is the name of the .RPT file to be used for the REPORT statements that follow.
Example
If you include reports from the REPORTS.RPT file in a document, and you decide to add a customized report from the PROJECTA.RPT file, you can use the following statement:
DOS { REPORTFILE PROJECTA.RPT }
You can use the following statement to switch back to the report definition file that you selected when the DCF command file initialized.
DOS { REPORTFILE "" }
See also
DOS: Manage the formatting process