TAA Tools
CVTJOB          CONVERT JOB TO OUTFILE                 TAAJOFK

The Convert  Job to Outfile  command converts  the information for  one
or more  jobs to an  outfile.  Selection may  occur on the  job or user
name  as  well  as  the  status (*ALL,  *ACTIVE,  *JOBQ,  *OUTQ).   The
outfile name is JOBP  which uses the model  file TAAJOFKP and a  format
name of JOBRCD.

A typical command would be:

             CVTJOB  JOB(ABC) JOBTYPE(*ACTIVE) OUTLIB(QTEMP)

One record would  be written for each active job named  ABC to the JOBP
file in QTEMP.

Performance  is better if  either or  both the JOB  and USER parameters
are not *ALL.

CVTJOB escape messages you can monitor for
------------------------------------------

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

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

   JOB           The name or generic name  of the job to be  converted.
                 A  value must  be entered  or the  special value  *ALL
                 for  all jobs.   Performance  is  better if  either or
                 both the JOB and USER parameters are not *ALL.

   USER          The  name  or   generic  name  of   the  user  to   be
                 converted.    *ALL  is  the  default  for  all  users.
                 Performance is  better if either  or both the  JOB and
                 USER parameters are not *ALL.

   JOBSTS        The  status of the jobs to  be converted.  *ALL is the
                 default for all jobs regardless of status.

                 One or more of the following may be specified:

                 *ACTIVE for active jobs.

                 *JOBQ for jobs on a job queue.

                 *OUTQ for jobs on an output queue.

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

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

   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 an  existing
                 file.


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

None.

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

The following TAA Tools must be on your system:

     ABORT           Abort
     CRTUSRSPC       Create user space
     DUPTAADBF       Duplicate TAA data base file
     EDTVAR          Edit variable
     EXTLST          Extract list
     RTVDAT          Retrieve date
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     SNDJLGMSG       Send job log 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
   ------        ----    ---------      ----------    ----------

   CVTJOB        *CMD                   TAAJOFK       QATTCMD
   TAAJOFKC      *PGM       CLLE        TAAJOFKC      QATTCL
   TAAJOFKR      *PGM       RPGLE       TAAJOFKR      QATTRPG
   TAAJOFKP      *FILE      PF          TAAJOFKP      QATTDDS
					

Added to TAA Productivity tools October 15, 2010


Home Page Up to Top