TAA Tools
SETBRKINQ       SET MSGQ TO BREAK ON INQUIRY           TAAMSHX

The Set  Message Queue  to Break on  Inquiry tool  allows you  to avoid
being interrupted  by any messages  sent to a message  queue other than
Inquiry  messages.   A SNDBRKMSG  command can  also cause a  break, but
SNDBRKMSG can  only  be  used to  send  a  message to  a  Work  Station
message queue (QSYSOPR is not a Work Station message queue).

The  TAAMSHXC2  program  in  TAATOOL  is used  as  the  break  handling
program.

To set a message queue to this function, enter:

            SETBRKINQ     MSGQ(xxx)

Any  messages (regardless of  severity) sent to the  message queue will
not cause a  break unless it is  an Inquiry message  or a message  sent
by SNDBRKMSG.   SNDBRKMSG  can only  send a message  to a  Work Station
message queue.

If  you  use SETBRKINQ  for  the QSYSOPR  message  queue,  only Inquiry
messages will cause an  interruption as QSYSOPR is  not a Work  Station
message queue.

SETBRKINQ escape messages you can monitor for
---------------------------------------------

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

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

   MSGQ          The  qualified  message  queue  to  set  to  break  on
                 inquiry.   The  library  defaults to  *LIBL.   *CURLIB
                 may be specified.

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

None.

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

     CHKOBJ3         Check object 3
     SNDCOMPMSG      Send completion message

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

None, the tool is ready to use.

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

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

   SETBRKINQ     *CMD                   TAAMSHX       QATTCMD
   TAAMSHXC      *PGM       CLP         TAAMSHXC      QATTCL
   TAAMSHXC2     *PGM       CLP         TAAMSHXC2     QATTCL

TAAMSHXC is the CPP.  TAAMSHXC2 is the break handling program.
					

Added to TAA Productivity tools February 1, 2001


Home Page Up to Top