CA IDMS

Expand all | Collapse all

How can I tell if Masterkey is in use on my system

Jump to Best Answer
  • 1.  How can I tell if Masterkey is in use on my system

    Posted 02-04-2019 11:09 AM

    I have a couple questions. 1) How can I tell if Masterkey is in use - does anyone use Masterkey? Is there a log of usage? 2) How can I tell if Masterkey is enabled and functional? 

     

    I have one CV where I can issue the KEYS command at the Enter Next Task Code screen and it brings up a list of key assignments. If I attempt to use one of the keys while on the screen that lists them I get "LMSG900E-GSILMSG FAILURE WITH CODE OF 0008". Then if I attempt to use a PF key on the Enter Next Task Code screen it just clears the screen and puts the Enter Next Task Code prompt on the top line.

     

    I have another CV where attempting to use the KEYS command at the Enter Next Task Code screen results in and abend: "PREVIOUS TASK ABENDED WITH ABEND CODE 0077".

     

    I have attempted to enable and disable Masterkeys using this in my CV JCL:

        //SYSIDMS DD *
        MASTERKEY_EXITS=ON
        /*

    This seems to have no impact on the system where the KEYS command brings up list of key assignments. (Whether I turn it on or turn it off, I get the same list and the same errors when using PF keys.)

     

    -Paul



  • 2.  Re: How can I tell if Masterkey is in use on my system

    Posted 02-04-2019 12:12 PM

    We do not use or have masterkey installed.   The fact that you can execute KEYS must mean you have part of it installed.  You could do a DCPROFIL or check the varblist to see if the MASTERKEY is YES or NO. 

     

    If you check the IDMS JES message log are there more messages or some other error as to a clue of what might be missing?

     

    The LMSG900E message says: | 8 - The message table could not be loaded. Check for a proper sysgen
     and load module for TPSMSGT.       

     

    Do a DCMT D PRO TPSMSGT and see if the program is defined.  

     

    You could aslo check your SRC library for the install and look at members starting with SSK*.  Browse those members and see if you actually installed those pieces.       

    ie

     BROWSE    IDMS.R190M.CAGJSRC(SSKSCHEM)             Line 0000000000 Col
     Command ===>                                                  Scroll =
    ********************************* Top of Data *************************
    *----------------------------------------------------------------*    
    *  CREATE AND COMPILE THE SCHEMA                                 *    
    *  -----------------------------                                 *    
    *  This member is used by the CA IDMS Installation Guide,        *    
    *  for MASTERKEY, to define the the logical database             *    
    *  for CA IDMS DB, Release 12.0 and higher.                      *    
    *                                                                *    
    *----------------------------------------------------------------*    
    --                                                                    
    --   SCHEMA STATEMENTS                                                
    --                                                                    
    ADD SCHEMA NAME IS SSKSCHEM VERSION IS 0001.                          
    --                                                                    
    --   AREA STATEMENTS                                                  
    --                                                                    
    ADD AREA   NAME IS SSK-DATA-AREA.                                     
    --                                                                    
    --   RECORD STATEMENTS                                                
    --                                                                    

     

    The book states you need MASTERKEY_EXITS=ON to run masterkey
     

       that's all I have         

     



  • 3.  Re: How can I tell if Masterkey is in use on my system

    Posted 02-05-2019 02:52 PM

    Thank you Mike Olmstead. I took your suggestions and as I was digging in I found that doing DCMT DISPLAY PROG SSKAMAIN (and against the other programs defined to the tasks in the CAGJSRC(SSKTPARAM) member) indicates how many times the specific PF-keys, PA-keys, etc have been used since the last restart of the CV (or newcopy of the program).

     

    This ultimately tells you that the SSK* programs are being run as the (very likely) result of correct install and config of MASTERKEY itself. My counts are not very big - about a dozen after a 3:00 am restart of my CV - but at least I see it is in use.

     

    I don't know why I am getting the ABEND CODE 0077 in one of my CVs. The PFKeys work even though I get the 0077 when trying to run KEYS at the Enter Next Task Code screen. My other CVs don't get the 0077, though and their PFkey mappings are working.



  • 4.  Re: How can I tell if Masterkey is in use on my system
    Best Answer

    Posted 02-06-2019 01:25 AM

    Issue the command DCMT D DBN
    The DBNAME *DEFFAULT entry at the top should have this line in it:

    SUBSCHEMA SSKSUB00 MAPS TO SSKSUB00 USING DBNAME MASTRKEY

    If it doesn't then that might be the cause of your problem.
    If this doesn't help you should probably open a support issue.