TAA Tools
PRTOUTFILE      PRINT OUTFILES                         TAADBIK

The Print  Outfiles command prints  a listing  of most system  commands
that  support  the OUTFILE  parameter  and all  TAA  CVT commands  that
perform  an outfile function.  The model  file and format are shown for
each file.  The  processing program may also  be called to receive  the
same information in an array.

A typical command would be:

            PRTOUTFILE

The spooled file OUTFILES would contain the outfile information.

Calling from an RPG program to retrieve the array
-------------------------------------------------

If you  want to use the  information from PRTOUTFILE in  a program, the
data  is stored  in arrays.   To access  the array  data, the following
RPG code could be used:

     E* Arrays used
     E                    VA1       150 10   VL1    60   Value and desc
     E                    VA2       150 10   VL2    60   Value and desc
     I* Data structures for arrays passed in as parameters
     IVA1DS       DS
     I                                        11500 VA1
     IVA2DS       DS
     I                                        11500 VA2
     IVL1DS       DS
     I                                        19000 VL1
     IVL2DS       DS
     I                                        19000 VL2
     I* Qualified program name for PRTOUTFILE
     I              'TAATOOL/TAADBIKR'    C         GETARR
     C****************************************************************
     C*                                                              *
     C*                 Get the array data                           *
     C*                                                              *
     C****************************************************************
     C                     CALL GETARR                     Get array
     C                     PARM 'GETARR  'REQST   8        Request
     C                     PARM '*ALL'    TYPE    4        Type
     C                     PARM           VA1DS            Value descrp
     C                     PARM           VL1DS            Value descrp
     C                     PARM           VA2DS            Value descrp
     C                     PARM           VL2DS            Value descrp

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

   TYPE          The type  of output.   *ALL  is the  default to  print
                 both  system   and  TAA   Productivity  Tool   outfile
                 commands.

                 *SYS  may  be  entered to  print  the  system outfiles
                 (most commands are described).

                 *TAA may  be entered  to  print the  TAA  Productivity
                 Tools which create outfiles.

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

Not all system commands are described.

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

The following TAA Tools must be on your system:

     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCMSG       Send escape message

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

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

   PRTOUTFILE    *CMD                   TAADBIK       QATTCMD
   TAADBIKC      *PGM       CLP         TAADBIKC      QATTCL
   TAADBIKR      *PGM       RPG         TAADBIKR      QATTRPG
					

Added to TAA Productivity tools January 1, 1998


Home Page Up to Top