TAA Tools
ADDRDBDIR2      ADD RDB DIRECTORY 2                    TAARDBA

The Add  Relational Data Base  (RDB) command is  intended to assist  in
moving  RDB entries  as  seen with  DSPRDBDIRE to  a  different system.
You  must first capture  the RDB entries to  an outfile with DSPRDBDIRE
and then move the  outfile to the system  to be applied to.   Duplicate
RDB names  are rejected as well as  a second version of  *LOCAL for the
Remote Location Name.

Assume  you used DSPRDBDIRE to create an  outfile and moved the results
to the RDBP  file in library  LIB1 on the  system you  want to add  the
entries to.

A typical command would then be:

             ADDRDBDIR2   RDB(*ALL) RDBFILE(LIB1/RDBP)

Any entries that do  not already exist would be  added.  Any duplicates
would  be  rejected as  well  as a  second  version of  *LOCAL  for the
Remote Location Name.

ADDRDBDIR2 escape messages you can monitor for
----------------------------------------------

      TAA9892    Errors occurred

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

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

   RDB           The name of  the RDB entry  to be added.   A  specific
                 name, a generic name, or *ALL may be entered.

   RDBFILE       The qualified name  of the file containing  the output
                 of  the DSPRDBDIRE command.   The  file must  have the
                 same   format  as  used   by  the  DSPRDBDIRE  outfile
                 function.

   MBR           The member  to be  used of the  file.   *FIRST is  the
                 default.  A specific member name may be entered.


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

The  file to  be  processed must  have  been output  by the  DSPRDBDIRE
command.

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

The following TAA Tools must be on your system:

     CHKDBFMBR       Check data base file member
     CHKGENERC       Check generic
     EDTVAR          Edit variable
     RSNLSTMSG       Resend last message
     RTVDIAGMSG      Retrieve diagnostic message
     RTVFMT          Retrieve format
     SNDCOMPMSG      Send completion message
     SNDDIAGMSG      Send diagnostic message
     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
   ------        ----    ---------      ----------    ----------

   ADDRDBDIR2    *CMD                   TAARDBA       QATTCMD
   TAARDBAC      *PGM       CLP         TAARDBAC      QATTCL
					

Added to TAA Productivity tools October 15, 2009


Home Page Up to Top