Previous Topic: Syntax DiagramNext Topic: YCHGUSRPRF (Change User Profile)


Parameters

Parameter

Definition

Value and Description

OBJ

Qualified generic name of objects whose ownership is changed

  • *OBJLST: Objects are specified by a list whose name is given by the OBJLST parameter
  • *ALL: All objects

OBJTYPE

List of types of object whose ownership is to be changed

*ALL: change ownership for all object types

NEWOWN

New owner and must be the name of an existing user profile

 

REVOKE

Revoke old owner’s authorities

  • *YES: (default) Authorities of the old owner are revoked, unless the old owner is the same as that specified by the NEWOWN parameter
  • *NO: Old owner is still authorized

CHGLIBOWN

Change ownership of library containing objects

  • *NO: (default) Do not change ownership of library.
  • *YES: change ownership of library. CHGLIBOWN(*YES) can not be specified if OBJ(*OBJLST) is specified

CHGOWNOPT

Specifies if the command should ignore objects owned by the NEWOWN profile. (The list records the ownership of the object when the list is built.)

  • *LST: (default) Changes ownership only of objects the list indicates are not already owned by the NEWOWN profile
  • *ALL: Change ownership of all objects in list regardless of their recorded ownership

OBJLST

Qualified name of object list specifying the object for which the ownership is to be changed.

QTEMP/TEMPLST: (default) List name

If OBJ(*OBJLST) is specified, an existing list is used. Otherwise a new list is created from the parameters specified

EDIT

Edit list option.

  • *NO: (default) The edit list function is not invoked
  • *YES: Invoke the edit list facility before proceeding with the command execution