TAA Tools
CVTIPDEV        CONVERT IP DEVICE                      TAATCPE

The Convert  IP Device command  converts the IP  devices to the  IPDEVP
outfile  in  a named  library.   TCP  must  be active.    Only TCP/IPv4
network  interfaces are supported.   One record is  written for each IP
device.   The API  QtocLstNetIfc is  used.   For a  description of  the
field  values  in the  outfile,  refer  to  the API  documentation  for
format NIFC0100.

The model file is TAATCPEP with a format name of IPDEVR.

See also the CVTIP6DEV command for conversion of TCP/IPv6.

         --   A typical command would be:


The  IPDEVP file would be  created in QTEMP and  contain one record per
IP device.

Addresses in the outfile

If an  address is  less than  the full  15 positions,  the API  returns
X'00's  at  the  end.    These   are  changed  to  blanks  to  simplify
application processing.

CVTIPDEV 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 IPDEVP  file will be placed.
                 The default is  *LIBL.   If the IPDEVP  file does  not
                 already exist, a library must be specified.

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

   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


TCP must be active.

Only TCP/IPv4 network interfaces are supported.


The following TAA Tools must be on your system:

     ABORT           Abort
     DUPFILFMT       Duplicate file format
     EDTVAR          Edit variable
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCMSG       Send escape message
     SNDJLGMSG       Send job log message


None, the tool is ready to use.

Objects used by the tool

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

   CVTIPDEV      *CMD                   TAATCPE       QATTCMD
   TAATCPEC      *PGM       CLP         TAATCPEC      QATTCL
   TAATCPEP      *FILE      PF          TAATCPEP      QATTDDS

Added to TAA Productivity tools December 15, 2002

Home Page Up to Top