TAA Tools
DSPLSTOBJ       DISPLAY LAST OBJECT                    TAAOBMB

The Display  Last Object  command displays  information about the  last
object  name of a  generic group of  objects.   The default is  for all
object  types.   If the  same name  exists for different  object types,
the last object type (per  system order) determines the object  that is
displayed.   If  you  are  naming objects  using  a generic  technique,
DSPLSTOBJ  can  assist in  providing  information about  the  last name
assigned.

A typical command would be:

             DSPLSTOBJ  OBJ(ABC*)

The basic information about  the last object  name that began with  ABC
would be displayed.   If the last name was ABC999 and  both a *FILE and
*PGM  object use that name,  the *FILE object would  be returned (based
on the order used by the system).

The OBJ name could be entered without an '*' such as:

             DSPLSTOBJ OBJ(ABC)

If the name is  less than 10 bytes,  an * would be  added and the  same
result would be achieved.

DSPLSTOBJ escape messages you can monitor for
---------------------------------------------

      TAA9893    No objects exist

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

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

   OBJ           The qualified name  of the object to display  the last
                 name for.   A generic  name would normally  be entered
                 such  as ABC*.  The name  ABC without a trailing * may
                 also be  entered and would  achieve the same  results.

                 If  the last  name was  ABC999  and both  a *FILE  and
                 *PGM  object type use that name,  the last type of the
                 same name  would be  displayed  (ie the  *FILE  object
                 would be  displayed because of  the order used  by the
                 system).

                 The  library  value defaults  to  *LIBL.   A  specific
                 library or *CURLIB may also be used.

   OBJTYPE       The object  type to  retrieve the  last name  for.   A
                 specific type  must be  named.   *ALL is the  default.
                 Use the  command prompter for the full  list of types.

   OUTPUT        How  to  output  the results.    * is  the  default to
                 display the  spooled file  if the  command is  entered
                 interactively.   The spooled file is  deleted after it
                 is displayed.

                 If  the  command  is entered  in  batch  or  *PRINT is
                 specified, the spooled  file is  output and  retained.


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

None.

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

The following TAA Tools must be on your system:

     CVTTIM          Convert time
     EDTVAR          Edit variable
     RSNLSTMSG       Resend last message
     RTVSYSVAL3      Retrieve system value 3
     RTVLSTOBJ       Retrieve last object
     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
   ------        ----    ---------      ----------    ----------

   DSPLSTOBJ     *CMD                   TAAOBMB       QATTCMD
   TAAOBMBC      *PGM       CLP         TAAOBMBC      QATTCL
   TAAOBMBR      *PGM       RPG         TAAOBMBR      QATTRPG
					

Added to TAA Productivity tools July 15, 2010


Home Page Up to Top