TAA Tools
CVTJOBD         CONVERT JOB DESCRIPTION                TAAJBDH

The Convert Job  Description command builds  an outfile of one  or more
Job  Descriptions.  The  outfile created is  named JOBDP.   The outfile
may  then be queried  for consistency or  searching for specific values
such as those job descriptions containing a certain job queue.

The model  file is  TAAJBDHP with  a format  name  of JOBDR.   You  can
display the model file with DSPFMT TAAJBDHP.

You must have  *ALLOBJ authority to use a library  qualifier of *ALL or
*ALLUSR.

A typical command would be:

             CVTJOBD      JOBD(xxx) OUTLIB(QTEMP)

The  named job  descriptions would  be converted to  the JOBDP  file in
QTEMP.  There would be one record for each job description.

CVTJOBD escape messages you can monitor for
-------------------------------------------

      TAA9891    No *JOBD object types in the library.

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

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

   JOBD          The qualified  name  of  the  job  description  to  be
                 converted.  *ALL  is the default.  A  specific name or
                 a generic name may also be entered.

                 The  library  value  defaults  to  *USRLIBL.    *LIBL,
                 *CURLIB, *ALLUSR, or *ALL may also be used.

   OUTLIB        The library in  which the JOBDP  file will be  placed.
                 The default  is *LIBL.   If  the JOBDP  file does  not
                 already exist, a library must be specified.

   OUTMBR        The  member of  the JOBDP  file to  be  used.   If the
                 member  does not exist,  it is added.   The default is
                 JOBDP.

   REPLACE       A *YES/*NO  value  for whether  the  member should  be
                 cleared before  writing records into it.   The default
                 is *YES.

                 *NO  may  be  specified  to  add  records to  existing
                 data.

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

None.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     DUPFILFMT       Duplicate File Format
     EDTVAR          Edit variable
     RTVJOBD         Retrieve Job Description
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message

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

None, the tool is ready to use.

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

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

   CVTJOBD       *CMD                   TAAJBDH       QATTCMD
   TAAJBDHC      *PGM       CLP         TAAJBDHC      QATTCL
   TAAJBDHR      *PGM       RPG         TAAJBDHR      QATTRPG
   TAAJBDHP      *FILE      PF          TAAJBDHP      QATTDDS
					

Added to TAA Productivity tools March 15, 2003


Home Page Up to Top