TAA Tools
DSPLIBSRCF      DISPLAY LIBRARY SOURCE FILES           TAASRDJ

The Display Library Source  Files command displays or prints  a spooled
file of  the source files  in a specific  library.  The  command can be
helpful when you are trying to review what exists.

You  must have *USE  authority to the specified  library and the source
files.  Program adoption is not valid to acquire authority.

A typical command would be:

          DSPLIBSRCF   LIB(xxx)

A spooled  file would  be  created of  the source  files  found in  the
library and  DSPSPLF would be used  to display the spooled  file.  When
the  command completes, the spooled  file would be  deleted.  An OUTPUT
option exists to retain the spooled file.

If no source  files exist in  the library, message  ID TAA9892 is  sent
as an escape message.

The  command uses  the  system  file QADBXREF  in  QSYS  to access  the
information so it is fairly fast.

If you  want an output file of the source  files, see the CVTLIBDBF TAA
Tool.

If you  do not  remember where  you  placed a  source member,  see  the
FNDSRCMBR TAA Tool.

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

   LIB           The library containing the source files.

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

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

Program adoption is not valid to acquire authority.

Security
--------

The  CL  uses  adopted  authority  because  the  QADBXREF  file  is not
available to the public.

The user  of the  command must  be authorized  to the  library and  the
source files.

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

The following TAA Tools must be on your system:

           EDTVAR         Edit variable
           RPGSTSDS       RPG Status Data Structure
           UNADOPT        Unadopt

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

None, the tool is ready to use.

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

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

   DSPLIBSRCF    *CMD                   TAASRDJ       QATTCMD
   TAASRDJC      *PGM       CLP         TAASRDJC      QATTCL
   TAASRDJR      *PGM       RPG         TAASRDJR      QATTRPG
					

Added to TAA Productivity tools May 1, 1996


Home Page Up to Top