TAA Tools
CVTALLDBD       CONVERT ALL DATA BASE DEPENDENCIES     TAADBKE

The Convert All Data  Base Dependencies command finds all  files on the
system 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.  An  outfile ALLDBDP  is created containing  one record for  each
dependent file that is in a different library.

The model outfile is TAADBKEP with a format of ALLDBDR.

You must have *ALLOBJ special authority to use CHKALLDBD.

CVTALLDBD is  designed to  allow a program  to process  the information
in  the  outfile.   The data  is taken  from  the system  QADBFDEP file
which is  awkward to  process.   CVTALLDBD  creates a  simple  outfile.
For a simple listing use CHKALLDBD.

A typical CVTALLDBD command would be:

             CVTALLDBD     OUTLIB(QTEMP)

By default,  only the  user libraries  (those which  would be saved  by
SAVLIB  *ALLUSR)  would  be checked.    The  outfile  ALLDBDP would  be
created in QTEMP with the information.

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)

CVTLIBOBJA escape messages you can monitor for
----------------------------------------------

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

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

   TYPE          The type  of libraries to  check for.   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.

   OUTLIB        The  library   in  which  the  ALLDBDP  file  will  be
                 placed.  The  default is *LIBL.   If the ALLDBDP  file
                 does not already  exist, a library must  be specified.

   OUTMBR        The  member of the  ALLDBDP file to  be used.   If the
                 member exists,  it is  cleared.   If the  member  does
                 not exist, it is added.  The default is ALLDBDP.

   SRCFILE       The qualified name  of the source file  containing the
                 TAADBHUL source.

                 *DFT is  the default in which case  the TAATMPSRC file
                 in  QTEMP  will  be created  and  the  TAADBHUL member
                 added.

                 A qualified name  of a source  file may be used  which
                 contains the TAADBHUL member.

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

You must have *ALLOBJ special authority to use CVTALLDBD.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKALLDBD       Check all data base dependencies
     CHKIBMLIB       Check IBM libraries
     RTVOBJD2        Retrieve object description 2
     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
   ------        ----    ---------      ----------    ----------

   CVTALLDBD     *CMD                   TAADBKE       QATTCMD
   TAADBKEC      *PGM       CLP         TAADBKEC      QATTCL
   TAADBKER      *PGM       RPG         TAADBKER      QATTRPG
   TAADBKEP      *FILE      PF          TAADBKEP      QATTDDS
					

Added to TAA Productivity tools March 15, 2003


Home Page Up to Top