TAA Tools
CVTHEXOBJ       CONVERT HEX OBJECT TYPE                TAAOBKZ

The Convert Hex Object  Type command converts the internal  object type
form in  hexadecimal (such as 0201) into the  external object type form
(such  as *PGM).  For the inverse function,  see CVTOBJTYP.  For a work
display that allows interactive conversion, see DSPHEXOBJ.

A typical series of commands would be:

             DCL           &OBJTYPE *CHAR LEN(10)
              .
             CVTHEXOBJ     HEXOBJTYPE(xxxx) OBJTYPE(&OBJTYPE)

If the hex object type is '0201', it would be converted to *PGM.

CVTHEXOBJ escape messages you can monitor for
---------------------------------------------

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

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

   HEXOBJTYPE    The hexadecimal  value  of an  internal object.    The
                 value  should  be  entered  as 4  bytes  of  character
                 data.

   OBJTYPE       The  external  form of  the object  type.   This  is a
                 return  variable  that  must  be  declared  as   *CHAR
                 LEN(10).

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

Because the  command returns a  variable, it may only  be used in  a CL
program.

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

The following TAA Tools must be on your system:

     SNDESCINF       Send escape information

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

None, the tool is ready to use.

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

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

   CVTHEXOBJ     *CMD                   TAAOBKZ       QATTCMD
   TAAOBKZC      *PGM       CLP         TAAOBKZC      QATTCL
   TAAOBKZR      *PGM       RPGLE       TAAOBKZR      QATTRPG
					

Added to TAA Productivity tools June 15, 2004


Home Page Up to Top