TAA Tools
CHGIFSOWN2      CHANGE IFS OWNER 2                     TAAIFTR

The Change  IFS Owner 2  command changes all  IFS objects owned  by one
user  profile to  another.   This allows  a  simple means  of switching
owners.    An option  exists to  revoke  the current  owners authority.
You  must have  *ALLOBJ  special  authority  to use  CHGIFSOWN2.    The
changes are displayed or listed.

CHGIFSOWN2 differs  from CHGIFSOWN  in that all  IFS owned  objects for
the user are changed.

See  the  DSPIFSOWN  and  DLTIFSOWN  commands  for  display and  delete
functions for owned IFS objects.

A typical command would be:


All IFS  objects  owned  by USER1  would  become  owned by  USER2.    A
listing of the changed objects would be displayed.

CHGIFSOWN2 escape messages you can monitor for

      TAA9892    The current user does not own any IFS objects
      TAA9893    The current user profile does not exist
      TAA9894    The new owner profile does not exist

Escape messages from based on functions will be re-sent.

CHGIFSOWN2 Command parameters                         *CMD

   CUROWN        The current owner of the IFS objects.

   NEWOWN        The new  owner of the IFS  objects.  The  user profile
                 must exist.

   RVKOLDAUT     A  *YES/*NO value for whether  the current authorities
                 for the current user should be retained.

                 *YES is the default to revoke the authorities.

                 *NO may be specified to retain the authorities.

   OUTPUT        How to  output  the results.    * is  the  default  to
                 display the  spooled file  if the  command is  entered
                 interactively.   The spooled file is  deleted after it
                 is displayed.

                 If  the  command  is  entered in  batch  or  *PRINT is
                 specified, the  spooled file  is output and  retained.


You must have *ALLOBJ special authority to use CHGIFSOWN2.


The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CVTIFSOWN       Convert IFS owned objects
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message


None, the tool is ready to use.

Objects used by the tool

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   CHGIFSOWN2    *CMD                   TAAIFTR       QATTCMD
   TAAIFTRC      *PGM       CLP         TAAIFTRC      QATTCL
   TAAIFTRR      *PGM       RPG         TAAIFTRR      QATTRPG

Added to TAA Productivity tools October 15, 2008

Home Page Up to Top