TAA Tools

The  Check Spool  Control  Authority  command  checks for  the  special
authority  *SPLCTL  in  the  current  user  profile or  as  an  adopted
function.   If  the user  does not  have the  function in his  job, the
CPF9898 escape message is  issued.  Standard text describing  the error
is the default.

The command would normally be entered as:


The  processing program attempts  to change  the TAAOUTQ2  output queue
in  TAATOOL.  If the user has  or adopts *SPLCTL, the command completes
successfully without a message.   This output queue should not be  used
for  any  other  purpose.    The  output  queue  is  created  with  the
following parameters:

         DSPDTA    *NO
         OPRCTL    *NO
         AUTCHK    *OWNER
         AUT       *EXCLUDE

The  processing  program for  CHKSPLCTL  attempts to  use  CHGOUTQ with
MAXPAGES(*SAME).  If  the user  is not authorized,  the escape  message
is  sent.   A  *SPLCTL  user is  implicitly  authorized to  the  output

If the  program adopt function  (USRPRF = *OWNER) is  used, the program
must  be owned by a user with *SPLCTL  special authority.  It cannot be
owned by a member of the group.

CHKSPLCTL escape messages you can monitor for

      CPF9898    The user does not have *SPLCTL

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

CHKSPLCTL Command parameters                            *CMD

   ERRTXT        The error  text to be  used if an  error occurs.   The
                 default is  *STD which  produces standard  error text.

                 The  intent of  allowing you to  enter the  text is if
                 you are  using  the  CHKSPLCTL command  in  a  program
                 that  uses  a  standard   error  handling  routine  to
                 bubble  up the message  text to  the caller.   You can
                 supply some  specific text  relative to  the  function
                 of your program.


See previous comments.


The following TAA Tools must be on your system:

     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
   ------        ----    ---------      ----------    ----------

   CHKSPLCTL     *CMD                   TAASEJA       QATTCMD
   TAASEJAC      *PGM       CLP         TAASEJAC      QATTCL
   TAAOUTQ2      *OUTQ

Added to TAA Productivity tools October 15, 2011

Home Page Up to Top