TAA Tools

 DSPTAATOOL     DISPLAY OR PRINT TAA TOOL DESCRIPTIONS     TAATOLC

 The DSPTAATOOL  command was  originally included  by the  TAA Tools  of
 QUSRTOOL  and is retained  for compatibility  purposes.   DSPTAA should
 be  used to  display or  print the documentation  or source  of the TAA
 Productivity Tools.  DSPTAATOOL  does have some minor function  that is
 not supported  by DSPTAA.  Both  DSPTAATOOL and DSPTAA  allow a display
 or  create spooled  output of either  the tool  documentation or source
 code.

 To use DSPTAATOOL, the  source member must  be in the specified  source
 file.   If the  member does  not exist  in the  source file,  DSPTAA is
 attempted to display the source from the TAA Archive.

 If  a  member is  found  in  the source  file,  the  DSPTAATOOL command
 supports the  OUTPUT  parameter which  controls  whether a  display  or
 printout  occurs.    The  display  occurs  by   using  the  SEU  browse
 function.   The printout occurs  from an RPG  program.  To  display the
 description of the SCNSRC tool you would specify:

       DSPTAATOOL      TOOL(SCNSRC)

 If  OUTPUT(*PRINT) is requested,  the output is  spooled using the file
 name of the tool being printed.

 DSPTAATOOL may also be used on non-TAA tools.

 The program to  print the tool  produces a heading  line for each  page
 and then  prints the  source statements  found in the  member.   If the
 constant  "**NEWPAGE" is  found beginning  in position 1,  a skip  to a
 new page will occur.

 The TAA tools  documentation is created  to allow a  new page break  to
 occur at reasonable places.

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

    TOOL          The  name of  the  tool to  be  displayed or  printed.
                  This  is the member name  of the member  in the source
                  file (e.g.    PRTLIBANL).   If  the  member  does  not
                  exist  in the  source file,  DSPTAA  is attempted  for
                  the same name in the TAA Archive.

    OUTPUT        How  the  output  should appear.    The  default is  *
                  meaning  if the  member is  found in  the source file,
                  the  text  information  is  displayed  using  the  SEU
                  browse   function   if    the   command   is   entered
                  interactively.   If the  command is  executed in batch
                  or  OUTPUT(*PRINT)  is   specified,  spooled   printed
                  output occurs.

                  If the  member is  displayed using  DSPTAA, the  value
                  of  the  OUTPUT  parameter  is  passed  to the  DSPTAA
                  command.

    SRCFILE       The qualified  name of  the source  file to  be  used.
                  The default is QATTINFO in TAATOOL.

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

 None.

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

 The following TAA Tools must be on your system:

       DSPSRCMBR     Display source member
       SNDCOMPMSG    Send completion message
       SNDESCMSG     Send escape message

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

 None, the tool is ready to use.

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

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

    DSPTAATOOL    *CMD                      TAATOLC        QATTCMD
    TAATOLCC      *PGM          CLP         TAATOLCC       QATTCL
    TAATOLCR      *PGM          RPG         TAATOLCR       QATTRPG

Added to TAA Productivity Tools April 1, 1995


Home Page

Last modified on November 19, 2014 © 1995, 2014 - TAA Tools, Inc.