TAA Tools
SCNDTAQLEN      SCAN DATA QUEUE MAXIMUM LENGTH         TAADTQL

The  Scan  Data  Queue  Maximum  Length  command   scans  one  or  more
libraries  for  data  queues that  are  defined  with  a maximum  entry
length  that exceeds a specified value.   The maximum entry length of a
data queue  is specified  on the  CRTDTAQ  MAXLEN parameter.   An  omit
list of libraries may also be specified.

You must have  *ALLOBJ special authority to specify  *ALL or *ALLUSR as
the libraries to be scanned.

A typical command would be:

             SCNDTAQLEN   MAXLEN(nnn) LIB(xxx)

All  data queues in the named  library would be found  and those with a
maximum length greater than or  equal to the specified length would  be
listed.

SCNDTAQLEN escape messages you can monitor for
----------------------------------------------

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

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

   MAXLEN        The maximum  entry length  to scan  for.   The maximum
                 entry  length  of a  data  queue is  specified  on the
                 CRTDTAQ MAXLEN  parameter.   All  data queues  with  a
                 maximum entry  length equal  to or  greater than  that
                 specified length will be listed.

   LIB           The  library or libraries  to be  scanned.  A  list of
                 to  300 libraries may be entered.   A generic name may
                 be  used  or  the  special  values   *LIBL,  *USRLIBL,
                 *CURLIB, *ALL, or *ALLUSR.

                 You  must have  *ALLOBJ special  authority to  specify
                 *ALL or *ALLUSR.

   OMITLIB       A list of up to 300 libraries to be omitted.

                 An omit list may not be entered for LIB(*CURLIB).

                 Any library entered is checked for existence.

                 No  check occurs to see if  an omit library would have
                 been  selected.    For   example,  if  LIB(*LIBL)   is
                 entered with  OMITLIB(ABC) and library  ABC is  not on
                 the library list, no error occurs.

   OUTPUT        How  the  output  should  be  displayed.   *  means  a
                 display   appears    if    the   command    is    used
                 interactively.   If  the command  is run  in batch  or
                 *PRINT is specified, a spooled file is output.

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

You must  have *ALLOBJ special authority to specify  *ALL or *ALLUSR as
the libraries to be scanned.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKDUPLST       Check duplicate list
     CHKGENERC       Check generic
     CHKGENOBJ       Check generic object
     CHKOBJ3         Check object 3
     CMPLSTPARM      Compare list parameters
     CRTDUPPF        Create duplicate physical file
     EXTLST          Extract list
     EXTLST2         Extract list 2
     RTVDTAQD        Retrieve data queue description
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCMSG       Send escape message
     SNDJLGMSG       Send job log message
     SNDSTSMSG       Send status message

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

None, the tool is ready to use.

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

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

   SCNDTAQLEN    *CMD                   TAADTQL       QATTCMD
   TAADTQLC      *PGM       CLP         TAADTQLC      QATTCL
   TAADTQLC2     *PGM       CLP         TAADTQLC2     QATTCL
   TAADTQLR      *PGM       RPG         TAADTQLR      QATTRPG
					

Added to TAA Productivity tools September 15, 2002


Home Page Up to Top