TAA Tools
CVTNETA         CONVERT NETWORK ATTRIBUTES             TAANETF

The   Convert  Network   Attributes   command  converts   the   network
attributes to  an outfile.  NETATRP  is the name of the  outfile in the
library  you specify.   One record with  unique fields for  each of the
network attributes is  written to the file.   This allows a  comparison
to be  made with  other uses of  CVTNETA at different  dates.   See the
CMPNETA command.

The  model  file used  is TAANETFP  in TAATOOL  with  a format  name of
NETREC.

When the output  file is created,  it is specified  as ALWUPD(*NO)  and
ALWDLT(*NO).  You cannot  change a record or delete a record.   You can
clear the  member or use the default  REPLACE(*YES) to replace the data
in an existing member.

The command allows use by the *PUBLIC user.

A typical solution would  be to have  a unique member  for of the  same
file each  time CVTNETA is  run.  The  member name could  represent the
date  the command  was  run  such as  NETyymmdd.   This  would  allow a
simple use of CMPNETA.

A typical command would be:

             CVTNETA      OUTLIB(xxx) OUTMBR(NET051101)

The  network attributes would be converted  to one record in the member
named of the NETATRP file in named library.

CVTNETA escape messages you can monitor for
-------------------------------------------

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

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

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

   OUTMBR        The member of  the NETATRP file  to be used.   If  the
                 member does  not exist, it is  added.  The  default is
                 NETATRP.   Only  one record  is  written with  a field
                 for each network attribute.

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

                 *YES  is  the  default  to  clear  the  member  before
                 adding records.

                 *NO may  be specified to  add to the  existing member.
                 The   CMPNETA  command  will  reject  any  request  to
                 compare a member with more than one record.

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

None.

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

The following TAA Tools must be on your system:

     DUPTAADBF       Duplicate data base file
     SNDCOMPMSG      Send completion 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
   ------        ----    ---------      ----------    ----------

   CVTNETA       *CMD                   TAANETF       QATTCMD
   TAANETFC      *PGM       CLP         TAANETFC      QATTCL
   TAANETFR      *PGM       RPG         TAANETFR      QATTRPG
   TAANETFP      *FILE      PF          TAANETFP      QATTDDS
   TAANETFQ      *FILE      PF

TAANETFQ is  created  from  the TAANETFP  source  and  is used  by  the
CMPNETA command.
					

Added to TAA Productivity tools June 1, 2005


Home Page Up to Top