Recovering Reports Initiated from a Command Prompt Window

Reports run from a Windows server command prompt line are not automatically restarted. You must re-issue the command to attempt to recover the report. You can make two attempts to recover the report. If parameter information was included with the command, you must include the information with the new command.

If the application is using extended report recovery after normal recovery, the report can be restarted using the saved recovery information. From a server command prompt window, enter

Runrep <report> [RECOVER <sid>] [<device>] [TR] [LA <language>] [PA <parameter>]

Use the system command :REP RECOVER to obtain a value for sid. <sid> is the session ID of the report. Refer to Running Asynchronous Reports from a Command Prompt Window for more information about other options.

You can use the value returned by the report to determine if the report failed. Refer to Using Returned Values from a Report (Glb.Task) for more information.