TAA Tools
CMPSGNUSE       COMPARE SIGNON TO LAST USED            TAASEKZ

The Compare  Signon to Last  Used command  allows a check  to see if  a
profile is  being used after  the last signon  date.  This  could occur
if  the profile name has not  signed on since it was  used such as in a
SBMJOB command  or a  job schedule  job.   User profiles  that are  not
permitted to signon will normally appear.

You must have *ALLOBJ authority to use CMPSGNUSE.

A typical command would be:

             CMPSGNUSE

By default,  all profiles are  considered and system  supplied profiles
are  bypassed.    A listing  would  be displayed  of  all  user created
profiles where the last  signon date is not the  same as the last  used
date.

There are several valid situations that may appear confusing:

  **   A user profile  may be used in  a submit or auto  start job thus
       having a last used date, but is not signed on to.

  **   A  profile may be changed  to PWD(*NONE) after it  was signed on
       to.

  **   A profile may  have a last  signon date, but no  last use  date.
       This could be caused if the last use dates were reset.

CMPSGNUSE escape messages you can monitor for
---------------------------------------------

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

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

   USRPRF        The  user  profile  or  generic  profile  name  to  be
                 compared.  The default is *ALL for all profiles.

   BYPSYSPRF     A  *YES/*NO  parameter for  whether  to bypass  system
                 profiles.     *YES  is  the   default  to  bypass  the
                 profiles created by the system.

                 *NO may  be specified to  consider all profiles  named
                 in the USRPRF parameter.

   OUTPUT        How  to output  the  results.   *  is  the default  to
                 display  the spooled  file if  the command  is entered
                 interactively.  If  the display  is ended with  F3/F12
                 or the  Enter key, the  spooled file is  deleted after
                 it  is displayed.   To  retain  the spooled  file, you
                 may use the the  System Request 'Cancel' function  and
                 the spooled file will exist in a HLD status.

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


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

You must have *ALLOBJ authority to use CMPSGNUSE.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKIBMPRF       Check IBM profile
     CVTDAT          Convert date
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message

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

None, the tool is ready to use.

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

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

   CMPSGNUSE     *CMD                   TAASEKZ       QATTCMD
   TAASEKZC      *PGM       CLP         TAASEKZC      QATTCL
   TAASEKZR      *PGM       RPG         TAASEKZR      QATTRPG
					

Added to TAA Productivity tools July 15, 2013


Home Page Up to Top