Reports can be run from a command prompt window on the server, without having to connect to your application. An executable file, runrep.exe, is supplied with your Runtime software, which is responsible for calling the Report Session Manager to run the requested report.
To run a report from a command prompt window, perform the following:
From the command prompt window, change to your application directory, the location of System.config.
Enter the following syntax to initiate the report:
runrep <report> [RECOVER <sid>][<device>] [LA <language>][PA <literal>]
Where:
<report> is the name of the report to be run.
Include RECOVER to restart a report. <sid> is the session ID of the report.
<device> is a valid device type, LP, TP, VD, or EX (refer to Where Report Output is Located for more information). If no device type is specified, LP is the default.
<language> is the language in which the report (generated in multiple languages) is to be initiated. If no language is specified, the default language of the application is used.
<literal> is parameter information to be passed to the report (refer to Passing Parameters to a Report for more information). If <literal> contains embedded spaces, enclose the string in quotation ( “ “) marks.
Eg:
Runrep LOADREPT LP PA N
Notes:
Avoid using the [USER <username>] parameter in AB Suite as it is ignored and does not affect GLB.USERCODE. However, if you use this parameter the report will not crash or give any error.
When initiating a report from a command prompt window, the entire command (including parameter) is subject to the command prompt window limit on command length.