How to access Netmaster region when no Userid is available with valid password and SEC=NO (no security exit) is specified in RUNSYSIN member.

Document ID : KB000053059
Last Modified Date : 26/11/2018
Show Technical Document Details
Introduction:

On occasion the Netmaster password is not known, or no admin user exists and the UAMS file has to be recreated.
This is suitable if you are using a partial security exit or no security exit.
This document describes how to correct this situation. 

 

Environment:
All Netmaster and SOLVE products
Instructions:
  1. Define Backup UAMS
  2. Repro Production UAMS to Backup
  3. Shut down NetMaster
  4. Edit the  RUNSYSIN.  Change your security to PPREF='SEC=NO' .  Note current setting.
  5. Del/Def Production UAMS
  6. Start NetMaster
  7. Do Initial Logon - Userid INSTALL Password 99999999
  8. Define your user as the Admin Uid - /UAMS option A. Follow the instructions in this link for how to set the fields: https://docops.ca.com/ca-netmaster-shared-content-library/12-2/en/install-or-upgrade-ca-netmaster-products/start-your-products#StartYourProducts-PerformtheInitialLogon
  9. Shut down NetMaster
  10. Change RUNSYSIN back to PPREF='SEC=xxxx'  where xxxx is the value it contained prior to setting it to 'NO'.
  11. Repro from Backup to new Prod UAMS
  12. Start NetMaster
Additional Information:

Here is some sample JCL for the repro

//COPY JOB ,'your name',CLASS=class,TIME=(mm,ss),LINES=lines 
/*ROUTE  PRINT node.location                                 
// EXEC PGM=IDCAMS                                           
//SYSPRINT DD SYSOUT=A                                       
//indd  DD DSN= ... (describes the input data set)           
//outdd DD DSN= ... (describes the output data set)          
//SYSIN DD *                                                 
REPRO -                                                      
  INFILE(indd) -                                             
  OUTFILE(outdd)  NOREPLACE                                
/*              

Here is some sample JCL for the delete

//DELETE JOB (acctg info),CLASS=class.MSGCLASS=class,NOTIFY=your userid 
//DELETE EXEC PGM=IDCAMS                                    
//SYSPRINT DD SYSOUT=*                                      
//SYSIN DD *                                                
 DELETE (dataset name)                       
 IF LASTCC EQ 8 THEN SET MAXCC=0                            
//