TAA Tools
DSPRPGPARM      DISPLAY RPG PARAMETERS                 TAARPGO

The Display  RPG Parameters command  provides a  spooled file with  one
line  for  each parameter  passed  to  an RPG  program.   The  columnar
display    can   make   it   easier   to   understand   the   important
characteristics about  the  parameters  being passed  to  the  program.
The source member must be identified.

A typical command would be:

             DSPRPGPARM   MBR(xxx) SRCFILE(QRPGSRC)

A  spooled file would  be displayed  with one  line for  each parameter
that is passed to the program.

Other comments
--------------

Decimal  array  lengths will  be  the  internal length  of  the element
times the number of elements.  If  you have an element of 5 digits  and
0 decimals, the internal value is packed to 3 bytes.

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

   MBR           The source  member name.   It  must be  a RPG,  RPGLE,
                 RPGMOD, or RPG38 source type.

   SRCFILE       The  qualified source  file name  of the  source file.
                 QRPGSRC is the  default in  *LIBL.   *CURLIB may  also
                 be used as a library qualifier.

   RQDEXTDSC     Determines  whether  any  externally  described  files
                 are  required.     *YES  is   the  default.     If  an
                 Externally   Described  file   is  specified   in  the
                 source,  it must  exist  on  the library  list  or  an
                 escape message will occur.

                 *NO may  be specified in  which case if  an Externally
                 Described  file exists,  the field  specifications are
                 used.   If  an  Externally  Described  file  does  not
                 exist,  no error  occurs,  but  the information  about
                 some of the fields may be missing.

   OUTPUT        How  to  output  the  results.    *  is  the  default.
                 *PRINT  may   be  specified.     This   is  the   same
                 definition as most DSP commands.

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

The RTVRPGPARM  tool is used  to access the  information.  It  uses the
RTVRPGFLD tool  which has some  restrictions regarding the  RPG source.

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

The following TAA Tools must be on your system:

     EXCOUTPUT       Execute output parameter
     RTVRPGPARM      Retrieve RPG parameters
     RTVSYSVAL3      Retrieve system value 3
     SNDSTSMSG       Send status message

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

None, the tool is ready to use.

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

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

   DSPRPGPARM    *CMD                   TAARPGO       QATTCMD
   TAARPGOC      *PGM       CLP         TAARPGOC      QATTCL
   TAARPGOR      *PGM       RPG         TAARPGOR      QATTRPG
					

Added to TAA Productivity tools August 1, 1996


Home Page Up to Top