TAA Tools
DSPPGM2         DISPLAY PROGRAM 2                      TAAPGNT

The Display Program  2 command displays  or prints information  about a
program  by  combining  information  from DSPPGM,  RTVOBJD,  DSPPGMREF,
DSPOBJAUT,  the  entry list  parameters,  and whether  programs  of the
same  name  exist in  any  other  libraries.    Text  descriptions  are
displayed  for  objects  and  users   if  they  can  be  found.    This
simplifies searching for information about a program.

A typical command would be:

             DSPPGM2       PGM(xxx)

Only  parameter list  information from  CLP, RPG, or  RPGLE/CLLE single
module programs is provided.

DSPPGM2 escape messages you can monitor for

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

Command parameters                                    *CMD

   PGM           The qualified  name of  the program  to be  displayed.
                 The  library value  defaults  to  *LIBL.   A  specific
                 library or *CURLIB may also be used.

   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.


Only parameter  list information  from CLP, RPG,  or RPGLE/CLLE  single
module programs is provided.


The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     CVTSYSLVL       Convert system level
     CVTTIM          Convert time
     EDTVAR          Edit variable
     HLRMVMSG        HLL Remove message
     RSNLSTMSG       Resend last message
     RTVCLPVAR       Retrieve CLP variables
     RTVILEMODA      Retrieve ILE module attributes
     RTVOBJAUT       Retrieve object authority
     RTVOBJLST       Retrieve object list
     RTVOBJD2        Retrieve object description 2
     RTVPGMA         Retrieve program attributes
     RTVRPGPARM      Retrieve RPG parameters
     RTVSYSVAL3      Retrieve system value 3
     RTVUSRTXT       Retrieve user text
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message


None, the tool is ready to use.

Objects used by the tool

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

   DSPPGM2       *CMD                   TAAPGNT       QATTCMD
   TAAPGNTC      *PGM       CLP         TAAPGNTC      QATTCL
   TAAPGNTR      *PGM       RPG         TAAPGNTR      QATTRPG

Added to TAA Productivity tools June 30, 2007

Home Page Up to Top