# Flags - Request Output (rreport, dreport)

The following flags can be used within filePro menus or from the command line with program "rreport" or "dreport".

Syntax: dreport filename flags

-A | All records.
-AS n | Start processing beginning at record number n instead of record #1.
-DB | Activates the debugger for processing table.
-F name | Selects the output format.
-FP filename | Run a specified output-processing table without having an output format associated with it.
-H "heading" | Screen heading.
-In | Selects an index.
-M name | Uses the given qualifier.
-MD | Prompts user for a qualifier.
-MQ "msg" | Prompts user for qualifier using "msg".
-N | No sorting.
-On | Saves the selected records as demand index n.
-P name | Selects the printer name.
-P file | Selects the file to put the output.
-PC type | Sets the printer type.
-PN name | Sets the printer name.
-PQ | Prompts user for printing to printer, file or display.
-PV | Shows printer output on the screen a page at a time.
-R "value" | Sets value for system-maintained field @PM.
-RF nnn,lll[,ad] -RF @filename | Specify a sort order to be used. You can either specify the sort order directly on the command line or point to a file that contains the sort order.
-RO | Designates files as read only.
-RW data | Works like the -R flag, i.e., passes a variable to a processing table. The processing table uses the @PW system-maintained field to retrieve the variable's contents.
-RX data | Same as -RW but uses the @PX system-maintained field.
-RY data | Same as -RW but uses the @PY system maintained field.
-RZ data | Same as -RW but uses the @PZ system maintained field.
-S name | Sets the selection set.
-SR n | Run on a single specific record number n.
-SX | Prevent user from saving revised selection sets to disk.
-T nnnnn | Sets scan/output process tokenization table size.
-TY nnnnn | Sets automatic process tokenization table size.
-V name | Uses named sort/selection table.
-W | Prompt user between pages. (Multi-user needs -P also).
-X | Halt at sort screen, needs -F & either -S or -A.
-Y name | Choose alternate automatic processing table. Use nonexistent table name to skip automatic processing.
-Z name | Choose alternate output processing table. Use nonexistent table name to skip output processing.
| (LINUX/UNIX/XENIX/Network)
-U | Prevents users from being locked out of a file when "Request Output" is processing records. (LINUX/UNIX/XENIX/Network versions) Warning: Do not use when; "Request Output" is posting data; do not let a user and "Request Output" simultaneously update the same record.
| (UNIX only)
-BG | Generate report in the background.
-BS | Suppress the "background task completed" message when -BG option is used.
-PT | Print to local printer (if printer) else to screen.