TAA Tools
BLDQLF          BUILD QUALIFIED NAME                   TAABLDB

         *                                                *
         *   The BLDQLF tool only exists for              *
         *    compatibility reasons with an old version   *
         *    in the QUSRTOOL tools.  It is no longer     *
         *    needed because RPG now supports a           *
         *    concatenation function which is more        *
         *    efficient.                                  *
         *                                                *

The  Build Qualified  Name  command builds  a  qualified name  from  an
object and  library name.  The  command has little use in  a CL program
because  CL supports a concatenation function.   However, a HLL such as
RPG can call the CPP directly to perform the concatenation.

Command parameters                                    *CMD

   OBJ           The object name to be concatenated.

   LIB           The library name to be concatenated.

   QLFDNAME      A return variable  with the qualified  name.  It  must
                 be specified as *CHAR LEN(21).

Calling the CPP from RPG

The following code can be copied to call the CPP directly:

     C                     CALL 'TAABLDBC'                 BLDQLF
     C                     PARM xxx       OBJ    10        Object
     C                     PARM yyy       LIB    10        Library
     C                     PARM           QLFNAM 21        Qlfd name


Because the  command returns a  variable, it can  only be used in  a CL




None, the tool is ready to use.

Objects used by the tool

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

   BLDQLF        *CMD                   TAABLDB       QATTCMD
   TAABLDBC      *PGM       CLP         TAABLDBC      QATTCL

Added to TAA Productivity tools May 1, 1996

Home Page Up to Top