I just created(INSERT) a logonid with OMVS HOME, OMVSPGM and UID fields. Now I need to remove the three OMVS fields, how can that be done?

Document ID : KB000035339
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:  

I just created(INSERT) a logonid with OMVS HOME, OMVSPGM and UID fields. Now I need to remove the three OMVS fields, how can that be done?

Answer: 

The ACF2 OMVS Profile records are an extension of the logonid record, the OMVS USER 

PROFILE record name is the same as the logonid. The OMVS USER PROFILE records

contain the HOME, OMVSPGM and UID fields. The HOME and OMVSPGM can be removed by

changing the fields to null from the TSO ACF Command Processor, for example:

 

ACF

SET LID

CHANGE xxxxxxxx HOME() OMVSPGM()

 

  where xxxxxxxx is the logonid

 

However the UID field of the OMVS USER PROFILE record cannot be changed to null

or be removed except by deleting the OMVS USER PROFILE record. Error message

'ACF61006 OPERAND REQUIRED FOR KEY - UID' will be issued is there is an attempt

to CHANGE the UID to null.

 

The OMVS USER PROFILE record can be DELETEd using the TSO, ACF Command processor, for example:

 

ACF

SET PROFILE(USER) DIV(OMVS)

DELETE xxxxxxxx

 

  where xxxxxxxx is the logonidt

 

Additional Information:

 

 

Details on the OMVS USER PROFILE record can be found in the CA ACF2 for z/OS Administration Guide in Chapter 3: Maintaining Logonid Records section 'OMVS User Profile Data Records'.