TAA Tools
RTVDBFM         RETRIEVE LIBRARY DBF MEMBERS           TAADBLG

The Retrieve Library Data  Base File Members command returns  counts of
data files and members and source files and members in a library.

A typical series of commands would be:

            DCL            &SRCMBRS *DEC LEN(7 0)
             .
            RTVDBFM        LIB(ABC) SRCMBRS(&SRCMBRS)

If  a  DDM  file  is read,  a  connection  attempt  is  made.   If  the
connection cannot be achieved, the file is bypassed.

RTVDBFM escape messages you can monitor for
-------------------------------------------

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

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

   LIB           The library name where the files exist.

   FILETYPE      The data base file type to be accessed.

                 *PF is the default for PF and PF38 types.

                 *LF may be specified for LF and LF38 types.

                 *ALL may be specified for all data base types.

   DTAFILES      The  number of data  files that exist  in the library.
                 This is  an optional  return value  that if  specified
                 must be declared as *DEC LEN(5 0).

   DTAMBRS       The  number   of  data  members  that   exist  in  the
                 library.   This  is an  optional return value  that if
                 specified must be declared as *DEC LEN(7 0).

   SRCFILES      The  number  of  source   files  that  exist  in   the
                 library.   This is  an optional  return value  that if
                 specified must be declared as *DEC LEN(5 0).

   DTAMBRS       The  number  of  source  members  that  exist  in  the
                 library.  This  is an  optional return  value that  if
                 specified must be declared as *DEC LEN(7 0).

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

Because the  RTVDBFM command  returns variables,  the command may  only
be used in a CL program.

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

The following TAA Tools must be on your system:

     CVTOBJD2        Convert object description 2
     RTVDBFA         Retrieve data base file attributes
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message

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

None, the tool is ready to use.

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

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

   RTVDBFM       *CMD                   TAADBLG       QATTCMD
   TAADBLGC      *PGM       CLP         TAADBLGC      QATTCL
					

Added to TAA Productivity tools September 15, 2006


Home Page Up to Top