TAA Tools
CVTJOBSCDE      CONVERT JOB SCHEDULE ENTRIES           TAAJBSB

The Convert  Job  Schedule Entries  command converts  the job  schedule
entries to  the JOBSCDP outfile.   A specific  job name, a  generic job
name,  or  all  job names  may  be converted.    The data  may  then be
processed as a  normal data base  file.  For example,  the file may  be
saved and restored  to another system where the  entries could be added
by the ADDJOBSCD2 TAA Tool command.

The  user   of  the  command  must  be  authorized  to  the  TAAJOBSCDE
authorization list.

A typical command would be.

             CVTJOBSCDE  JOB(*ALL) OUTLIB(QTEMP)

All the job  schedule entries would  be converted to  the JOBSCDP  file
in QTEMP.

The API QWCLSCDE is used to access the information.

File format
-----------

The file name that is output is JOBSCDP.

The model file used is TAAJBSBP with a format name of JOBSCDR.

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

   JOB           The name  of the  job schedule  entry to  convert.   A
                 specific  job name  may be entered.   If  multiple job
                 names exist  for the  name entered,  all will  all  be
                 converted.

                 A generic job  name may be  used or the  special value
                 *ALL to convert all job names.

   OUTLIB        The  library  to output  the  JOBSCDP  file  to.   The
                 default  is  *LIBL  which  may  only  be  used  if the
                 JOBSCDP file  may be found  on the  library list.   If
                 the file does not exist, a library must be named.

   OUTMBR        The  member  to  be   written  to.    The  default  is
                 JOBSCDP.

                 *DATE  may  be  specified  to  output  a  member  name
                 Mcyymmdd.  This allows a  unique member for each  date
                 converted and  different members can be  compared with
                 the CMPJOBSCDE command.

   REPLACE       A *YES/*NO  parameter for whether to  replace the data
                 in the outfile.   The  default is  *YES.   *NO may  be
                 specified to add to the existing data.

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

The  user  of  the  command  must  be   authorized  to  the  TAAJOBSCDE
authorization list.

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

The following TAA Tools must be on your system:

     CRTDUPPF        Create duplicate physical file
     CRTUSRSPC       Create user space
     EDTVAR          Edit variable
     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
   ------        ----    ---------      ----------    ----------

   CVTJOBSCDE    *CMD                   TAAJBSB       QATTCMD
   TAAJBSBC      *PGM       CLP         TAAJBSBC      QATTCL
   TAAJBSBR      *PGM       RPG         TAAJBSBR      QATTRPG
   TAAJBSBP      *FILE      PF          TAAJBSBP      QATTDDS
   TAAJBSBQ      *FILE      PF          TAAJBSBQ      QATTDDS
   TAAJBSBT      *FILE      PF          TAAJBSBT      QATTDDS

TAAJBSBQ  is used  by CMPJOBSCDE and  is a  second version  of TAAJBSBP
with a key on Job name.

TAAJBSBT  is used  by CMPJOBSCDE  and is  a second version  of TAAJBSBP
with a prefix of JT and a key on Job name.
					

Added to TAA Productivity tools January 1, 1998


Home Page Up to Top