TAA Tools
RTVJOBTYPD      RETRIEVE JOB TYPE DESCRIPTION          TAAJOEH

The  Retrieve   Job  Type  Description   command  returns  a   15  byte
description for a job type such as BCH or SBS.

A typical series of commands would be:

             DCL           &DESCRP *CHAR LEN(15)
              .
             RTVJOBTYPD    JOBTYPE(xxx) DESCRP(&DESCRP)

RTVJOBTYPD escape messages you can monitor for
----------------------------------------------

      CPF9898    Invalid job type

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

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

   JOBTYPE       The job  type to retrieve the description  for such as
                 BCH  or  SBS.   Use the  prompter to  see the  list of
                 supported job types.

   DESCRP        The description  of  the job  type that  is  returned.
                 This must be specified as *CHAR LEN(15).

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

Because RTVJOBTYPD  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
     SNDESCMSG       Send escape message

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

None, the tool is ready to use.

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

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

   RTVJOBTYPD    *CMD                   TAAJOEH       QATTCMD
   TAAJOEHC      *PGM       CLP         TAAJOEHC      QATTCL
					

Added to TAA Productivity tools September 15, 2006


Home Page Up to Top