TAA Tools
WRKADDHEX       WORK ADD HEXADECIMAL                   TAAHEXE

The Work  Add Hexadecimal command  provides a  work display for  adding
or  subtracting a hex  or a decimal  value to  a hex or  decimal value.
The  hexadecimal values  may be  entered as  either unsigned  or signed
values.  The result is returned  as both hex and decimal values.   Help
text is provided for the display.

The ADDHEX  command is used for  calculations.  See  the ADDHEX command
for the detail handling of hex values.

When  WRKADDHEX is entered,  a work display  appears.  A  value must be
entered into  one of  the  Factor 1  fields  and one  of the  Factor  2
fields.  After Enter  is pressed, the values are  checked and if valid,
the two result values are displayed.

When subtracting, Factor 2 is subtracted from Factor 1.

In  its simplest  form, you  can enter either  hex value  and add  0 in
decimal or  00 in  hex to  see  what the  corresponding hex  value  is.
Conversely, you can enter a  value in decimal and add 00 in  hex to see
what the hex value is.

When hex  values are entered,  any valid hex  may be used  (including a
single value like 'F'.

WRKADDHEX escape messages you can monitor for
---------------------------------------------

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

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

None.


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

None.

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

The following TAA Tools must be on your system:

     ADDHEX          Add hex
     CHKHEX          Check hex
     EDTVAR          Edit variable
     SNDESCINF       Send escape information

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

None, the tool is ready to use.

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

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

   WRKADDHEX     *CMD                   TAAHEXE       QATTCMD
   TAAHEXEC      *PGM       CLP         TAAHEXEC      QATTCL
   TAAHEXED      *FILE      DSPF        TAAHEXED      QATTDDS
					

Added to TAA Productivity tools July 15, 2012


Home Page Up to Top