TAA Tools
CVTOPNF         CONVERT OPEN FILES                     TAAFILE

The Convert  Open Files  command builds  an outfile of  the files  that
are open  to a job.   The outfile created  is named OPNFILP.   You must
have  *JOBCTL special authority to specify a  job that is not being run
under the same profile name.  The QDMLOPNF API is used.

The model file  is TAAFILEP  with a format  name of  OPNFILR.  You  can
display the model file with DSPFMT TAAFILEP.

A typical command would be:

             CVTOPNF      JOB(*) OUTLIB(QTEMP)

All open files  in the current job would be output  to the OPNFILP file
in QTEMP.  There would be one record for each open file.

CVTOPNF escape messages you can monitor for
-------------------------------------------

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

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

   JOB           The  qualified  job name  of  the job  to  convert the
                 open files for.  The default is *.

                 A specific job  may be  specified, but  you must  have
                 *JOBCTL  special authority  if  the job  is not  being
                 run with the same user profile.

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

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

   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
------------

None.

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

The following TAA Tools must be on your system:

     CHKJOBCTL       Check *JOBCTL special authority
     DUPTAADBF       Duplicate TAA data base file
     EDTVAR          Edit variable
     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
   ------        ----    ---------      ----------    ----------

   CVTOPNF       *CMD                   TAAFILE       QATTCMD
   TAAFILEC      *PGM       CLP         TAAFILEC      QATTCL
   TAAFILER      *PGM       RPG         TAAFILER      QATTRPG
   TAAFILEP      *FILE      PF          TAAFILEP      QATTDDS
					

Added to TAA Productivity tools July 15, 2003


Home Page Up to Top