TAA Tools
RTVGRPPRFI      RETRIEVE GROUP PROFILE INDICATOR       TAASELA

The Retrieve Group  Profile Indicator command retrieves a  *YES/*NO for
whether the  specified user profile is a group  profile.  You must have
*ALLOBJ special authority to use RTVGRPPRFI.

A typical series of commands would be:

             DCL        &GRPPRFIND *CHAR LEN(4)
              .
             RTVGRPPRFI USRPRF(xxx) GRPPRFIND(&GRPPRFIND)

RTVGRPPRFI escape messages you can monitor for
----------------------------------------------

      TAA9891    The user profile does not exist

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

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

   USRPRF        The user profile to retrieve the information for.

   GRPPRFIND     A  *YES/*NO  return  variable  that  describes whether
                 the user profile  is a group  profile.  The  parameter
                 must be declared as *CHAR LEN(4).


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

You must have *ALLOBJ special authority to use RTVGRPPRFI.

Because the  command returns  a variable, RTVGRPPRFI  may only  be used
in a CL type of program.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     RSNLSTMSG       Resend last 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
   ------        ----    ---------      ----------    ----------

   RTVGRPPRFI    *CMD                   TAASELA       QATTCMD
   TAASELAC      *PGM       CLP         TAASELA       QATTCL
					

Added to TAA Productivity tools October 15, 2013


Home Page Up to Top