TAA Tools
WRKF2           WORK FILE 2                            TAADBJY

The Work  File 2  command provides  a subfile with  options to  display
the attributes,  relations, format, and data of a  file.  These are the
same  options as on the DSPF2 command.   In addition, there are options
to change, edit, clear, and delete a file.

A typical command would be:

             WRKF2        FILE(xxx*)

All files  with the  generic name  would  be displayed.   Some  options
cause a command prompt.

If a  CLR or DLT  option is requested,  a special prompt  appears which
must  be answered *YES  to complete the  function.  DLT  cannot be used
on a multi-member file.

WRKF2 escape messages you can monitor for
-----------------------------------------

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

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

   FILE          The qualified name of the  file to be worked with.   A
                 generic  name or  *ALL may  be entered.   The  library
                 value  defaults to *LIBL.   *CURLIB,  *ALL, or *ALLUSR
                 may also be entered.

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

Only a single member file may be deleted.

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

The following TAA Tools must be on your system:

     CLRALLPFM       Clear all PF members
     DSPACCPTH       Display access path
     DSPBOF          Display based on file
     DSPDB           Display data base
     DSPDBF          Display data base file
     DSPDBFA         Display data base file attributes
     DSPDBFDTA       Display data base file data
     DSPDBFREL       Display data base relations
     DSPSELOMT       Display select omit
     DSPFMT          Display format
     DSPF2           Display file 2
     EDTDBF          Edit data base file
     EDTVAR          Edit variable
     FILEFDBCK       File feedback
     HLRMVMSG        HLL Remove message
     SNDDIAGMSG      Send diagnostic message
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message
     WRKMBRS         Work members

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

None, the tool is ready to use.

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

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

   WRKF2         *CMD                   TAADBJY       QATTCMD
   TAADBJYC      *PGM       CLP         TAADBJYC      QATTCL
   TAADBJYC2     *PGM       CLP         TAADBJYC2     QATTCL
   TAADBJYC3     *PGM       CLP         TAADBJYC3     QATTCL
   TAADBJYC4     *PGM       CLP         TAADBJYC4     QATTCL
   TAADBJYR      *PGM       RPG         TAADBJYR      QATTRPG
   TAADBJYD      *FILE      DSPF        TAADBJYD      QATTDDS
					

Added to TAA Productivity tools September 15, 2002


Home Page Up to Top