IBM Support

Significance of WeakCGTime and StrongCGTime in Rational Rhapsody

Question & Answer


Question

What is the significance of WeakCGTime and StrongCGTime handles in the unit files of IBM Rational Rhapsody?

Cause

When using Rational Rhapsody with any Configuration Management tool, you would like to avoid duplication of unit files which have not been modified.

Answer

Definitions:

    • StrongCGTime refers to the units created time in Date::GMT time format
    • WeakCGTime refers to the units modified time in Date::GMT time format
CGTime handles refer to individual units in Rational Rhapsody.

Example:

For a Default package [.sbs], the value of WeakCGTime and StrongCGTime would be the same initially.

Consider the scenarios mentioned below:

Scenario 1:

  1. Add a Class.

  2. The WeakCGTime would change indicating the time the .sbs file unit has been modified

  3. However the StronCGTime would remain the same


Scenario 2:
  1. Edit the class such as adding an attribute

  2. The WeakCGTime would change of the package as class is an element under the package

  3. The StrongCGTime would still remain the same


Scenario 3:
  1. Save the class as a unit

  2. Making further changes in the class will only change the WeakCGTime of the class and not that of the package as class is a separate unit now

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5.1;7.5.1.1;7.5.2;7.5.2.1;7.5.3;7.5.3.1;7.5.3.2;7.6;7.6.0.1;7.6.1;7.6.1.1;7.6.1.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21433222