Initiating RIP from a Terminal or ODT

To run a Report in batch mode with RIP, use the following basic command format. (Note that square brackets delimit optional input.)

[USER = usercode/password;]
RUN $NGEN28/RIP ("system/report device LA language")
[;VALUE = nn ]
[;TARGET = key ]
[;SW1=TRUE]
[;TASKSTRING="report parameter string"]

usercode/password

Optional usercode/password under which you want RIP to be run. The default is the usercode of your CANDE or MARC session. The Report itself runs under the usercode of your application.

system

Name of the application the Report belongs to.

report

Name of the Report to be executed. To print a Report to device DI, the Report must be compiled with default device of DI.

device

The hardware device on which the Report is to be printed: TP, LP, DI, or RP. A non-ROC Video Report might only be executed through NGEN28/RIP if it is redirected to either a line printer or a terminal printer.

If you do not specify a device, the Report is directed to the output device specified on the Report Configuration Properties prior to generation of the Report, or to a device type set by Report logic.

LA language

Gives the optional initial language that has been specified for the Report. For a single language Report, the language name is ignored. For a Report built in multiple languages, if the language name is invalid or has not been specified, the primary language is used.

nn

An identifier for the Report being initiated. This number can be used to distinguish between multiple initiations of the same Report from a particular WFL. Both this value and the job number of the WFL are passed to the application to uniquely identify each Report.

key

Used when performing manual Report recovery. The location where the appropriate recovery information was retained when automatic recovery completed unsuccessfully.

Refer to Backup, Recovery, and Remote Database Facility for more information on how to initiate Reports in recovery mode.

SW1=TRUE

Using the SW1=TRUE option suppresses some display messages from the LSS program, for example:

DISPLAY: system/report - MIX NUMBER is mix