TAA Tools
CHK1STMBR       CHECK 1ST MEMBER                       TAADBNM

The Check 1st Member  command checks one or more files  to determine if
the  first  member has  the  same name  as  the file.    Exceptions are
displayed  or  listed.   Source files  are  implicitly bypassed.   Only
data  base data  files  that  can  have members  are  checked  (DDM  is

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

A typical command would be:

             CHK1STMBR  FILE(xxx/*ALL)

All  data files in  the named library  would be checked.   If any files
have no members or the  first member name is  not the same as the  file
name, an  exception would be  noted.  A  display would appear  when all
files have been processed.

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.

CHK1STMBR 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  or generic  library
                 names 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
   ------        ----    ---------      ----------    ----------

   CHK1STMBR     *CMD                   TAADBNM       QATTCMD
   TAADBNMC      *PGM       CLP         TAADBNMC      QATTCL
   TAADBNMR      *PGM       RPG         TAADBNMR      QATTRPG

Added to TAA Productivity tools July 15, 2012

Home Page Up to Top