TAA Tools
CMPUSRPRF       COMPARE USER PROFILE                   TAASEED

The  Compare  User  Profile  command  compares  the  CRTUSRPRF  command
parameters  of two user  profile objects.   Both user profiles  must be
on the same system.  A spooled file is created of any differences.

The major attributes which are not compared are:

      - Owner
      - Authorizations
      - Text description
      - Message queue
      - Password
      - Create date and time

A typical command would be:

             CMPUSRPRF   FROMUSRPRF(xxx) TOUSRPRF(yyy)

A  spooled file  would be  created and  displayed with  any differences
that occurred.

Some comparison  of  non CRTUSRPRF  values occurs  such  as the  'audit
level' from CHGUSRAUD.

An option  exists to send an  escape message if differences  exist.  An
option exists to delete the spooled file if no differences exist.

Most  of the  attributes (but  not all) are  compared.   CMPUSRPRF uses
RTVUSRPRF and is limited to the attributes returned on RTVUSRPRF.

CMPUSRPRF escape messages you can monitor for
---------------------------------------------

      TAA9895    Differences exist (optional based on ESCAPE parm)

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

Command parameters                                    *CMD
------------------

   FROMUSRPRF    The name of the From User Profile to be compared.

   TOUSRPRF      The name of the To User Profile to be compared.

   ESCAPE        Whether to  send  an  escape  message  if  differences
                 exist.   The default is  *NO which means  a completion
                 message is sent.

                 *YES  may be specified to  send TAA9895 if differences
                 exist.

   DLTSPLF       Whether to delete  the spooled  file if  there are  no
                 differences.    The   default  is  *YES   meaning  the
                 spooled file  is deleted if no  differences are found.
                 The  spooled  file is  always retained  if differences
                 exist.

                 *NO may  be specified  to ensure a  spooled file  will
                 exist  regardless  of  whether  differences  exist  or
                 not.

Restrictions
------------

Most  of the  attributes (but  not all) are  compared.   CMPUSRPRF uses
RTVUSRPRF and is limited to the attributes returned on RTVUSRPRF.

Prerequisites
-------------

The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     EDTVAR          Edit variable
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCMSG       Send escape message

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

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

   CMPUSRPRF     *CMD                   TAASEED       QATTCMD
   TAASEEDC      *PGM       CLP         TAASEEDC      QATTCL
   TAASEEDR      *PGM       RPG         TAASEEDR      QATTRPG
					

Added to TAA Productivity tools July 1, 1999


Home Page Up to Top