TAA Tools
DSPCLC          DISPLAY CALCULATOR                     TAACLCA

The Display Calculator  command provides a simple calculator  with add,
subtract,  multiply, and divide  functions.   Help text is  provided to
describe how it operates.

No parameters exist.  The command would be entered as:

             DSPCLC

A  window is  displayed over  the existing  display in the  lower right
hand corner.

The number of  digits to the  left of the decimal  separator can be  up
to 15.   The  number of digits  to the right  of the  decimal separator
can be up to 5.

If  a   value  greater  than  15  whole  numbers  is  created  for  the
accumulator, the value is truncated (no error occurs).

The decimal separator is determined by the system value QDECFMT.

The default for the operation is  + (Plus) unless a - (Minus) was  used
on the previous operation.

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

The maximum  number of positions to  the left of the  decimal separator
is 15.

The maximum  number of positions to the  right of the decimal separator
is 5.

If  a  value  greater  than  15  whole  numbers  is  created  for   the
accumulator, the value is truncated (no error occurs).

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

     RTVSYSVAL3      Retrieve system value 3
     SNDESCMSG       Send escape message

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

None, the tool is ready to use.

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

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

   DSPCLC        *CMD                   TAACLCA       QATTCMD
   TAACLCAR      *PGM       RPG         TAACLCAR      QATTRPG
   TAACLCAD      *FILE      DSPF        TAACLCAD      QATTDDS
					

Added to TAA Productivity tools October 1, 1996


Home Page Up to Top