Input and Output Files

To start the Batch Facility in batch mode, specify a command syntax file for it to process. You can redirect output to a file.

-f syntax file name. Runs the Batch Facility in batch mode and processes the command syntax in the named file. Specify one file. If the file path contains spaces, enclose it in double quotes. To process multiple syntax files, execute the Batch Facility multiple times. If you omit the -f switch, you can enter interactive commands at the the Batch Facility command prompt. (To force interactive rules in batch mode, use the -i switch instead. See the topic Syntax Rules for more information. )

-out output file name. Specifies the output file for the results of the command syntax. It works for batch mode only. If you omit it, output will go to standard output. (Note: On UNIX, If you want to redirect the output while in interactive mode, try the UNIX tee command.)