DSPHEX          DISPLAY HEX AND OTHER THINGS           TAAHEXA

 The Display Hex command  provides an interactive display where  you can
 perform the following:

   **   Convert  a  binary  value   (e.g.    0000A135)  to  the  decimal
        equivalent.   This  includes negative  binary values  for 4 byte
        binary values.

   **   Convert a decimal value to  the 4 byte binary equivalent.   This
        includes negative decimal values.

   **   Convert  to  and  from  8  byte  binary  values  (only  positive
        numbers).

   **   Convert  a EBCDIC  value of  20 bytes  to the  corresponding hex
        value.

   **   Convert a  hex value  of 40  bytes to  the corresponding  EBCDIC
        value.

   **   Convert K,M,G,B type of bytes to a decimal value.

   **   Access a display that shows the bit settings for A-F.

   **   Access a series  of displays that show the  decimal values 0-255
        and  the equivalent  hex value, US  EBCDIC character,  and ASCII
        character.

   **   Access a display that shows the 'Powers of 2' to the 54th.

   **   Access a  display that  shows  the 'Prime  numbers' up  to  255.
        These can be helpful in developing randomizing techniques.

 The command has no parameters:

           DSPHEX

 Display Hex can assist you when you are dealing with hex values.

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

 None.

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

 The command can only be used in an interactive environment.

 When converting from  binary to decimal,  only binary values  that will
 produce  a  9 digit  decimal  value  (plus or  minus)  or  less may  be
 converted.

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

 The following TAA Tools must be on your system:

      CVTBIN8         Convert from binary 8
      CVTTOBIN8       Convert to binary 8
      DSPDEVCHR       Display device character
      HLRMVMSG        HLL Remove message
      RPGSTSDS        RPG status data structure
      SNDESCMSG       Send escape message

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

 None, the tool is ready to use.

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

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

    DSPHEX        *CMD                   TAAHEXA       QATTCMD
    TAAHEXAR      *PGM       RPG         TAAHEXAR      QATTRPG
    TAAHEXAD      *FILE      DSPF        TAAHEXAD      QATTDDS

Added to TAA Productivity Tools May 1, 1996


Home Page

Powered by AS/400Powered by AS/400 Last modified on July 15, 2010 © 1995, 2010 - Jim Sloan, Inc.