TAA Tools

The Delete Object  Type command allows  you to delete one,  generic, or
a list  of object types  in a library.   Most popular  object types are
supported.    If *FILE  type objects  are  requested, all  non physical
files are deleted  first.  A  spooled file describes  the results.   An
escape message  will occur if not  all of the requested  objects can be

DLTOBJTYP  differs from DLTOBJ2  in that all  objects of a  type may be
deleted in a single library.

You must  be  authorized  to  delete the  requested  objects  and  they
cannot be allocated.

A typical command would be:

             DLTOBJTYP     OBJ(xxx/*ALL) OBJTYPE(*PGM *DTAARA)

All programs and data  areas would be deleted in the named  library.  A
spooled file would describe the results.

DLTOBJTYP escape messages you can monitor for

      TAA9894    No object/types were found in the specified library
      TAA9895    Not all object/types requested were deleted

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

Command parameters                                    *CMD

   OBJ           The  qualified name of  the object  to be deleted.   A
                 single object name,  a generic  name, or  *ALL may  be

                 A  library name  must  be  entered.   *CURLIB  may  be

   OBJTYPE       The  object  type to  be  deleted.   Up  to 40  object
                 types  may be  named or the  special value  *ALL.  Use
                 the command prompter to determine the valid types.

                 *ALL deletes  only those object  types shown with  the
                 command prompter.

   CLEARQ        Whether to  clear any *JOBQ or *OUTQ  objects that are
                 specified  to  be deleted.   *JOBQ  and  *OUTQ objects
                 may not be deleted unless they are cleared.

                 *YES is the default to  clear *JOBQ and *OUTQ  objects
                 before  they are  deleted.    Note that  only  objects
                 specified to be deleted will be cleared.

                 *NO may  be specified to not clear  the *JOBQ or *OUTQ
                 objects.    If  entries  exist,  the  delete  of   the
                 objects will fail and an exception will be noted.


You must have all rights to the object to delete it.


The following TAA Tools must be on your system:

     EDTVAR          Edit variable
     EXTLST          Extract list
     EXTLST2         Extract list 2
     RTVDIAGMSG      Retrieve diagnostic message
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCMSG       Send escape message
     SNDJLGMSG       Send job log message


None, the tool is ready to use.

Objects used by the tool

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

   DLTOBJTYP     *CMD                   TAAOBKQ       QATTCMD
   TAAOBKQC      *PGM       CLP         TAAOBKQC      QATTCL
   TAAOBKQC2     *PGM       CLP         TAAOBKQC2     QATTCL
   TAAOBKQR      *PGM       RPG         TAAOBKQR      QATTRPG

Added to TAA Productivity tools December 15, 2002

Home Page Up to Top