IBM Support

Invoking ReporterPlus from the command line

Question & Answer


Question

How can you invoke ReporterPlus from the command line of IBM Rational Rhapsody?

Answer

Command-Line Argument:
/q OR /quiet  ::  Yes/No (Silent Mode=Yes or GUI Mode=No)
/m OR /model  ::  Rhapsody Model File Name
/t OR /template  ::  Rhapsody Template File Name
/fn OR /fileName  ::  Output File Name
/ft OR /fileType  ::  Output File Type (doc/html/ppt/txt)
/d OR /display  ::  Display the generated document
/s OR /scope  ::  Scope indicator string
 
Example:
%OMROOT%\reporterplus\reporter.exe /q=yes /m C:\temp\Project.rpy /t C:\temp\Project_rpy\MyTemplate.tpl /ft doc /fn C:\temp\MyReport.doc
 
You can also use variables:
set OMROOT=C:\Rhapsody6.1MR1
set MODELPATH=C:\Clients\mark\V61_RiC_TelematicsControlUnit
set MODELNAME=V61_RiC_TelematicsControlUnit
set TMPLPATH=C:\Clients\mark\V61_RiC_TelematicsControlUnit\V61_RiC_TelematicsControlUnit_rpy
set TMPLNAME=TelematicsControlUnitTemplate
set DOCTYPE=doc
set DOCNAME=SampleProject
set DOCPATH=C:\Clients\mark
 
%OMROOT%\reporterplus\reporter.exe /q=yes /m %MODELPATH%\%MODELNAME%.rpy /t %TMPLPATH \TMPLNAME%.tpl /ft %DOCTYPE% /fn %DOCPATH%\%DOCNAME%.%DOCTYPE%
 
Format of the scope package you specify is the full name of all the packages from its top most package contained by project separated by a colon (:).
 
Example: If in your model you have package a default under project and package default has a sub-package testpkg then in order to generate report on testpkg the scope should be specified as
 /s default:testpkg:Package.
 
If there is another package NestedPkgPackage inside testpkg then scope for that package will be
 /s default:testpkg:NestedPkgPackage.

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.2;7.3;7.4;7.4.0.1;7.5;7.5.0.1;7.5.1;7.5.1.1;7.5.2;7.5.2.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

10508

Product Synonym

Telelogic Rhapsody;Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21323769