TAA Tools
CHKALLDBD       CHECK ALL DATA BASE DEPENDENCIES       TAADBHU

The Check All  Data Base Dependencies  command checks all files  or all
files  in all  user libraries for  the situation  where the  -Based on-
physical  file is in a library other  than the dependent file.  Keeping
the -Based  on- physicals  in the  same  library is  very helpful  when
attempting to  restore on an  initialized system or on  another system.

If  you want  an  outfile of  the same  information, see  the CVTALLDBD
command.

A typical command would be:

             CHKALLDBD

By default,  only the user  libraries (those  which would  be saved  by
SAVLIB *ALLUSR) would be checked.

You must have  *ALLOBJ special authority to use CHKALLDBD.   The system
file QADBFDEP in QSYS is used.

In   some   cases  the   system  file   QADBFDEP   provides  misleading
information such  as logical  files which  no longer  exist.   If  this
occurs, use:

             RCLSTG        SELECT(*DBXREF)

CHKALLDBD Command Parameters                          *CMD
----------------------------

   TYPE          The type of  check to occur.   The default  is *ALLUSR
                 meaning  all libraries that  would be saved  by SAVLIB
                 LIB(*ALLUSR)  would  be  checked  for  physical  files
                 that have dependent files in other libraries.

                 *ALL may be specified to check all libraries.

   OMITLIB       A list of  up to 300 libraries  to be omitted.   *NONE
                 is the default.

   ESCMSG        A  *YES/*NO  value  for  whether  to  send  an  escape
                 message   if  some  logical  files   are  found  in  a
                 different library.

                 *YES is the  default to  send the  CPF9898 message  as
                 an escape.

                 *NO may  be specified  to have  the same message  sent
                 as a completion message.

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

You must have *ALLOBJ special authority to use CHKALLDBD.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKIBMLIB       Check IBM libraries
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCMSG       Send escape 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
   ------        ----    ---------      ----------    ----------

   CHKALLDBD     *CMD                   TAADBHU       QATTCMD
   TAADBHUC      *PGM       CLP         TAADBHUC      QATTCL
   TAADBHUC2     *PGM       CLP         TAADBHUC2     QATTCL
   TAADBHUR      *PGM       RPG         TAADBHUR      QATTRPG
					

Added to TAA Productivity tools May 1, 1996


Home Page Up to Top