TAA Tools
CVTMNUA         CONVERT MENU ATTRIBUTES                TAAMNUD

The Convert Menu  Attributes command builds  an outfile of one  or more
Menu  objects.  The  outfile created  is named  MNUP.  The  outfile may
then  be queried for consistency or  searching for specific values such
as the programs that are used for menus.

The model  file  is TAAMNUDP  with a  format  name of  MNUR.   You  can
display the model file with DSPFMT TAAMNUDP.

You must have  *ALLOBJ authority to use a library  qualifier of *ALL or
*ALLUSR.

A typical command would be:

             CVTMNUA      MENU(xxx) OUTLIB(QTEMP)

The  named Menu objects would  be converted to the  MNUP file in QTEMP.
There would be one record for each Menu object.

CVTMNUA escape messages you can monitor for
-------------------------------------------

      TAA9891    No *MENU object types in the library.

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

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

   MENU          The  qualified  name   of  the   Menu  object  to   be
                 converted.  *ALL  is the default.  A  specific name or
                 a generic name may also be entered.

                 The  library  value  defaults  to  *USRLIBL.    *LIBL,
                 *CURLIB, *ALLUSR, or *ALL may also be used.

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

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

   REPLACE       A *YES/*NO  value  for whether  the  member should  be
                 cleared before  writing records into it.   The default
                 is *YES.

                 *NO  may  be  specified  to  add  records to  existing
                 data.

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

You must have *ALLOBJ authority to  use a library qualifier of *ALL  or
*ALLUSR.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     DUPTAADBF       Duplicate TAA data base file
     EDTVAR          Edit variable
     RTVMNUA         Retrieve menu attributes
     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
   ------        ----    ---------      ----------    ----------

   CVTMNUA       *CMD                   TAAMNUD       QATTCMD
   TAAMNUDC      *PGM       CLP         TAAMNUDC      QATTCL
   TAAMNUDR      *PGM       RPG         TAAMNUDR      QATTRPG
   TAAMNUDP      *FILE      PF          TAAMNUDP      QATTDDS
					

Added to TAA Productivity tools July 15, 2003


Home Page Up to Top