TAA Tools
CVTCFGSTS      CONVERT CONFIGURATION STATUS                  TAACFGC

The CVTCFGSTS  command converts  the WRKCFGSTS  command printed  output
to a data  base file.  The file can then  be processed to determine the
status  of either lines, controllers or devices.   The name of the file
output is CFGSTSP.

A typical command would appear as:

     CVTCFGSTS     TYPE(*LIN)

One record  would be  written for  each  line, each  controller on  the
line etc.   The  record in the  output file will  identify the  type of
request  made  such as  CFGTYPE(*LINE)  and  the type  of  record being
output.  For  example, if a  device record is  output by the  WRKCFGSTS
command, the  line and controller information  will be filled  in along
with  the device name and  it's status.  The  record will be identified
as a DEV type.

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

   TYPE          The type of request to be  made.  Enter *LIN, *CTL  or
                 *DEV.

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

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

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

File format
-----------

The file name that is output is CFGSTSP.

The model file used is TAACFGCP with a format name of CFRCD.

To see the field names used:

       DSPFMT    TAACFGCP

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

Because the  WRKCFGSTS output  is copied  with  CPYSPLF, the  CVTCFGSTS
function is release  dependent.  Only the lower and  upper case English
language  versions  are supported.    If the  format  of  the CVTCFGSTS
printed output is  changed on  a subsequent release,  the program  must
be modified.

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

The following TAA Tools must be on your system:

            EDTVAR         Edit variable
            RTVDEVCAT      Retrieve device category
            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
   ------        -----      ---------      ----------     -----------

   CVTCFGSTS     *CMD                      TAACFGC        QATTCMD
   TAACFGCP      *FILE         PF          TAACFGCP       QATTDDS
   TAACFGCC      *PGM          CLP         TAACFGCC       QATTCL
   TAACFGCC2     *PGM          CLP         TAACFGCC2      QATTCL
   TAACFGCR      *PGM          RPG         TAACFGCR       QATTRPG
					

Added to TAA Productivity tools April 1, 1995


Home Page Up to Top