TAA Tools
CNFDLTRCD       CONFIRM DELETE RECORD                  TAADBMD

The  Confirm  Delete  Record  command  allows   deleting  a  record  by
entering  a relative record  number of a  record in  a file.   A prompt
appears  with the data  from the file (characters  below X'40 appear as
blanks).   You must  confirm the deletion  by pressing  F6.   CNFDLTRCD
may  only  be  used in  an  interactive  environment.   A  physical  or
logical file may be used.

A typical command would be:

              CNFDLTRCD   FILE(xxx) RELRCD(27)

A  prompt would appear with the first  1000 bytes of data from relative
record number 27.  You must confirm your choice or cancel.

CNFDLTRCD escape messages you can monitor for
---------------------------------------------

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

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

   FILE          The qualified  name of  the file  to  delete a  record
                 from.    The  library  value defaults  to  *LIBL.    A
                 specific library or *CURLIB may also be used.

   RELRCD        The  relative  record  number  in  the  member  to  be
                 deleted.   The  relative  record  must  be  an  active
                 record  and the  number must  exist  within the  file.
                 If  the record  has  already been  deleted,  an escape
                 message will occur.

   MBR           The  member to  remove a record  from.   *FIRST is the
                 default

                 A specific member or *LAST may be specified.


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

The file record length cannot exceed 9999 bytes.

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

The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     CVTDSPDTA       Convert display data
     EDTVAR          Edit variable
     HLRMVMSG        HLL Remove message
     RSNLSTMSG       Resend last message
     RTVDBFA         Retrieve data base file attributes
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message

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

None, the tool is ready to use.

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

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

   CNFDLTRCD     *CMD                   TAADBMD       QATTCMD
   TAADBMDC      *PGM       CLP         TAADBMDC      QATTCL
   TAADBMDC2     *PGM       CLP         TAADBMDC2     QATTCL
   TAADBMDR      *PGM       RPG         TAADBMDR      QATTRPG
   TAADBMDD      *FILE      DSPF        TAADBMDD      QATTDDS
					

Added to TAA Productivity tools April 15, 2009


Home Page Up to Top