TAA Tools
RTVPRDDSC       RETRIEVE PRODUCT DESCRIPTION           TAASYTQ

The Retrieve Product  Description command retrieves a description  of a
licensed  product such as  5761SS1.  The  description is returned  in a
25 byte variable.

A typical series of commands would be:

             DCL           &DESCRP *CHAR LEN(25)
              .
             RTVPRDDSC     PRODUCT(xxx) DESCRP(&DESCRP)

If  the  PRODUCT value  is not  known,  the command  completes normally
with a message:

            'Failure on xxxxxxx'

RTVPRDDSC escape messages you can monitor for
----------------------------------------------

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

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

   PRODUCT       The product code to retrieve the description for.

   DESCRP        The  required   return  description.     It  must   be
                 specified as *CHAR LEN(25).

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

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

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

The following TAA Tools must be on your system:

     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message

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

None, the tool is ready to use.

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

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

   RTVPRDDSC     *CMD                   TAASYTQ       QATTCMD
   TAASYTQC      *PGM       CLP         TAASYTQC      QATTCL
					

Added to TAA Productivity tools July 15, 2006


Home Page Up to Top