TAA Tools

The  Check  Multiple  Members command  checks  one  or  more  files  to
determine  those that have  more than one  member and those  that allow
more  than one, but have  0 or 1 members.   Exceptions are displayed or
listed.  Source  files are  implicitly bypassed.   Only data base  data
files that can have members are checked (DDM is excluded).

You  must have  *ALLOBJ special  authority to  use a  library  value of

A typical command would be:

             CHKMLTMBR  FILE(xxx/*ALL)

All  data files in  the named library  would be checked.   If any files
have multiple members or allow multiple  members, but have only 0 or  1
would  be noted.   A  display would  appear  when all  files have  been

CHK1STMBR escape messages you can monitor for

      TAA9891    Exceptions exist
                   Only occurs if used in batch or
                     OUTPUT(*PRINT) is specified

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

CHKMLTMBR Command parameters                          *CMD

   FILE          The  qualified name  of  the file  to be  checked.   A
                 single file  name,  a  generic name,  or  the  special
                 value *ALL may be entered.

                 The  library value  defaults  to *USRLIBL.    *CURLIB,
                 *ALLNONQ, *ALLUSR, or *ALLUSR2 may be entered.

                 The  special value *ALLUSR2  may be  used to  mean all
                 normal  user libraries.   This  includes all libraries
                 that do  not begin  with the  letter Q  plus the  QGPL
                 library  and  excludes  the S/36  libraries  #LIBRARY,
                 #CGULIB,    #COBLIB,   #DFULIB,    #RPGLIB,   #SDALIB,
                 #SEULIB, and #DSULIB.

                 The special value  *ALLNONQ may  be used  to mean  all
                 libraries that begin with a letter other than Q.

   OMITLIBS      A  list  of  up  to   300  libraries  that  should  be
                 omitted.  *NONE is the default.

                 If   you   want  to   check   user   libraries,  using
                 LIB(*ALLNONQ/*ALL) is  a  good  choice  and  omit  the
                 TAATOOL library.

   OUTPUT        How  to output  the  results.   *  is the  default  to
                 display  the spooled  file if  the command  is entered
                 interactively.   If  the display is  ended with F3/F12
                 or the Enter  key, the spooled  file is deleted  after
                 it  is displayed.   To  retain the  spooled  file, you
                 may  use the the System  Request 'Cancel' function and
                 the spooled file will exist in a HLD status.

                 If the  command  is  entered  in batch  or  *PRINT  is
                 specified, the  spooled file  is output  and retained.


You  must have  *ALLOBJ special  authority  to use  a library  value of

Source files and  data base  files that do  not have  an attributes  of
PF, PF38, LF, or LF38 are implicitly bypassed.


The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CVTLIBDBF       Convert library data base files
     EXTLST2         Extract list 2
     RSNLSTMSG       Resend last message
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     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
   ------        ----    ---------      ----------    ----------

   CHKMLTMBR     *CMD                   TAADBNN       QATTCMD
   TAADBNNC      *PGM       CLP         TAADBNNC      QATTCL
   TAADBNNR      *PGM       RPG         TAADBNNR      QATTRPG

Added to TAA Productivity tools April 15, 2013

Home Page Up to Top