Gen EDGE

 View Only

  • 1.  HE - model management - batch options

    Posted Apr 16, 2025 02:18 AM

    Hi there,

    If I want to update model info (e.g. rename & change owner) in batch can I just update HE data table: DMDL (I could use DNSTEP2/DNSTEP4) or do I have to update any other table also ?

    Thanks.



    ------------------------------
    Gagan
    IT Consultant (Mainframe)
    ------------------------------


  • 2.  RE: HE - model management - batch options

    Broadcom Employee
    Posted Apr 25, 2025 04:14 AM

    Hi Gagan,

    just saw your question hasn't received any answers yet. 

    In case you are still wondering, the answer is Yes. DMDL is the only table that holds the model name and owner; updating DMDL will effectively change the model.

    Be aware that you are updating the encyclopedia tables directly, so proceed with caution.  Also make sure the models (nor any subsets) are checked out.

    Carlo




  • 3.  RE: HE - model management - batch options

    Posted Apr 25, 2025 04:20 AM

    Thank you Carlo. Yes, I concur I have to be extra careful while updating the encyclopedia tables directly.



    ------------------------------
    Gagan Kakkar
    IT Consultant (Mainframe)
    Ph: +44-774-004-9020
    ------------------------------



  • 4.  RE: HE - model management - batch options

    Broadcom Employee
    Posted Apr 25, 2025 06:04 AM

    Noticed a rather important typo in my reply. Below is the obvious correction ... 

    make sure the models (nor any subsets) are NOT checked out.

    Carlo




  • 5.  RE: HE - model management - batch options

    Posted Apr 27, 2025 05:28 AM
    Edited by Gagan Kakkar Apr 27, 2025 05:48 AM

    Thanks Carlo. Yes, I did notice the obvious typo. :))

    I have one more question...Say if I have to update a couple of things for a model in batch - Change Owner & Grand Read Access, do I have to update DHLOG data table as well with appropriate HLG_ACTIVITY_TYPE type (e.g. or Change Owner :  'CHG OWNER' and for Read Access: GRANT ACCE).  ??
    Any other HE data table I have to update ??  DSUBUS ??

    Thanks !



    ------------------------------
    Gagan Kakkar
    IT Consultant (Mainframe)
    Ph: +44-774-004-9020
    ------------------------------



  • 6.  RE: HE - model management - batch options

    Broadcom Employee
    Posted Apr 28, 2025 04:31 PM

    I would not recommend updating the tables directly.  In addition to updating the DMDL and DHLOG tables, the rename model will sometimes update the DFAMILY table. It also updates the name of the root subject area. There is also validation logic that validates the user has the correct authority to update, model and subsets are not checked out, new name does not exist, enques model so concurrency is preserved correctly, etc...  Also, you are correct that the model grant access logic updates the DSUBUS table.