Previous Topic: CHANGE CommandNext Topic: CHGMDISK Command


CHGENTRY Command

Use the CHGENTRY command to convert a USER directory entry into an IDENTITY entry or an IDENTITY entry into a USER entry.

CHGENTRY entry [USER | IDENTITY]

Definitions

entry

This parameter names a directory entry to be changed to a different entry type.

USER

This parameter specifies that IDENTITY entry, without any BUILD statements, is to be changed into a USER entry.

IDENTITY

This parameter specifies that a USER directory entry is to be changed to an IDENTITY entry.

Authorizations

You must have authorization granted to you through the AUTHORIZ CONFIG statement, GRANT CHGENTRY. For example, to authorize MAINT to use this command, add the following AUTHORIZ CONFIG statement.

GRANT CHGENTRY TO MAINT 

Description

You can convert any USER entry into an IDENTITY entry. You can convert an IDENTITY into a USER entry, but only when it contains no BUILD statements. Any BUILD statements must first be removed by deleting the associated SUBCONFIG directory entry with the DELENTRY command.

Return Codes and Error Messages

The table below lists return codes and error messages for the CHGENTRY command.

Return Code

Message Number

Text

0

0308I

ENTRY name CHANGED TO newtype

24

0038E

MISSING PARAMETER

24

0039E

INVALID PARAMETER parameter

28

0356E

USER userid DOES NOT EXIST

32

0382E

USER userid IS ON HOLD

16

0863E

SUBCONFIG name MUST BE DELETED BEFORE entry CAN BE CHANGED TO A USER