User Tools

Site Tools


howtos:admin:delete_a_model_family

Deleting a model family

A real world example: Say a user deleted the model family directory from inside the model base directory. The model base gets messed up and the mfTbl must be patched to let it know the family is deleted. Here are the steps:

1. login as samm through putty

2. Start the patch tool:

 MBpatcher 

3. Set up the model base variable

 set MBroot /whatif/samm/Models_MB 

4. Go into that model base

 moveto MBroot 

5. Look at the model families table

 show mfTbl 

6. scroll up to find out what the record number for the macro model family you deleted and keep track of that number 7. Start patching the model family table

 patch mfTbl 

8. Tell it the record number you found in 6 and it will print the info about that record 9. Tell it we want to delete this record

 creFlag = "F_DELETED" 

10. Complete the patch:

 done 

12. Close MBPatcher

  quit  
howtos/admin/delete_a_model_family.txt · Last modified: 2009/12/01 13:29 by shona.weldon