How can we find the Group Model ID for a group model & How to construct the ~model.$$$ file .
search cancel

How can we find the Group Model ID for a group model & How to construct the ~model.$$$ file .

book

Article ID: 384925

calendar_today

Updated On:

Products

CA Plex

Issue/Introduction

Client wanted to know the steps to find Group Model ID and steps to reconstruct  Model file. 

Environment

CA PLEX 7.2.X

Resolution

Step1 :
Retrieve the Group Model ID:
In order to derive the group model ID from group model's artifacts, follow either of the method listed below.
Method #1
- Identify the host group model wherein the group model that you want to know the group model id is being used/attached as a library model.
- Goto the Host group model's directory.
- Open Host group models LIB.TAB file.
- Locate the file for attached library model, column 2 and 3 contains the Group model ID.
LIB.TAB file sample screenshot.

Method #2
- Goto the Group model folder for which you want to know the group model ID.
- Open Updatid.dat file.
  This file contains the history of group model updates.

  469762049   939746253   1660944384  0
  469762050   939746253   1660944384  469762069
  469762051   939746327   469762048   469762069
To derive the group model ID take the first number 469762049 and convert it to Hexadecimal number (For example use windows calculator app for conversion).
Hex Value: 1C000001
The high byte is the group model ID, i.e.
 
   1C (Hex) = 28 (Dec).
So, the group model ID here is decimal value 28
-----------

Step2:
Construct the ~model.$$$ file:
Now once you got the Group Model ID, along with other details you can construct the missing ~model.$$$ file.
If you open any $$$Model.$$$ or ~Model.$$$ file you'll see something like:
28    939746249
550
28 - This is the group model ID
939746249 - This is the creation time
550 - This is the version of Plex that the group model exists at.
Create the missing ~model.$$$ file with the group model in question, and update the details:

     Group model id - derived as mentioned above. 
     Creation Time: Open the Updatid.dat file and pick the 2 column value from top row.
     Plex release that group model exists at.