Example: Running Reports from the Command Line for IBM i

This example displays a command for executing the Business Unit Report (R0006P):

RUNUBE USER(SF5488324) PASSWORD(PASSWORD) ENVIRON(PD920) 
REPORT(R0006P) VERSION(XJDE0001)

This command begins processing version XJDE0001 of the report in the PD920 environment. After completion, the PostScript spool file resides on the printer_1 OUTQ. The spool file leaves printer_1, and the .PDF file is not deleted.