How to call a script file using Rational RhapsodyCL

Technote (FAQ)


Question

How do you call a script file using RhapsodyCL in IBM Rational Rhapsody?

Cause

You would like to run some commands through scripting with RhapsodyCL using Rational Rhapsody

Answer

In order to Invoke a script file, follow the steps below:

  1. Create a script file with RhapsodyCL commands and save it with a .txt extension
    Attached is a sample Script file named (Script.txt)

  2. Open command prompt and navigate to the Rhapsody installation directory.

  3. Run the following command:

    RhapsodyCL.exe -f <script location>\script.txt

Disclaimer

All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


SamplesSript.txtSamplesSript.txt

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Rhapsody
General Information

Software version:

7.6.1.3, 8.0

Operating system(s):

Windows

Reference #:

1632161

Modified date:

2013-03-26

Translate my page

Machine Translation

Content navigation