TAA Tools
DSPGRPPRF       DISPLAY GROUP PROFILE                  TAASEGW

The Display Group Profile  command displays or prints the  members of a
group and  detail information.  The command is  an improvement over the
system  DSPUSRPRF  OPTION(*GRPPRF) function  in that  information about
the individual members is displayed.

Only a  user  who has  all  rights to  the  specified profile  may  use
DSPGRPPRF.

A typical command would be:

             DSPGRPPRF     GRPPRF(xxx)

The specified  profile must be a  group profile.  A  spooled file would
be displayed and then deleted.

Security considerations
-----------------------

The  user of the  command must have  all rights to  the specified group
profile.  This is checked in both TAASEGWC and TAASEGWC2.

The TAASEGWC2 program adopts QSECOFR  authority to allow the  DSPUSRPRF
outfile to  be created followed by  CVTGRPPRF.  The outfile  is written
to  the  TAASECKP  file  in  TAASECURE  if  requested  by  the  REFRESH
parameter.   The checking  of 'all  rights  is done  via the  TAA  Tool
UNADOPT.

DSPGRPPRF escape messages you can monitor for
---------------------------------------------

      TAA9891    The user is not a group profile
      TAA9892    Not all rights to the user profile

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

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

   GRPPRF        The  group profile  to display  or  print the  members
                 for.

   REFRESH       An  option  to  determine  if  the  DSPUSRPRF  OUTFILE
                 function  is used to refresh  the TAASECKP file in the
                 TAASECURE library.   The default  is *YES meaning  the
                 file will be refreshed.

                 *DAYCHG  may be  specified which  means the  file will
                 be  refreshed if  the  last time  the file  was output
                 was on  a different  day.   *DAYCHG  assumes that  you
                 are  using the  command repeatedly  on  the same  day,
                 you  do not want  to keep  refreshing the information.

                 *NO may be  specified to  use the existing  data.   If
                 no data exists, the file is output.

   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.

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

Only  a  user who  has  all rights  to  the specified  profile  may use
DSPGRPPRF.

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

The following TAA Tools must be on your system:

     CHKGRPPRF       Check group profile
     CVTDAT          Convert date
     CVTGRPPRF       Convert group profile
     CVTTIM          Convert time
     RSNLSTMSG       Resend last message
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     UNADOPT         Unadopt

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

None, the tool is ready to use.

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

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

   DSPGRPPRF     *CMD                   TAASEGW       QATTCMD
   TAASEGWC      *PGM       CLP         TAASEGWC      QATTCL
   TAASEGWC2     *PGM       CLP         TAASEGWC2     QATTCL
   TAASEGWR      *PGM       RPG         TAASEGWR      QATTRPG
					

Added to TAA Productivity tools March 26, 2007


Home Page Up to Top