TAA Tools
CPYJOBSCDE      COPY JOB SCHEDULE ENTRY                TAAJBSD

The Copy  Job Schedule Entry command  allows you to  make a copy  of an
existing job  schedule entry to  add a new  job schedule entry.   A new
text  description  may be  assigned.   Any other  values to  be changed
must  be  changed  by   the  CHGJOBSCDE  command  (such  as   from  the
WRKJOBSCDE display).

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

A typical command would be:

             CPYJOBSCDE   FROMJOB(ABC) TOJOB(ABC2)

The  existing  attributes  of  the  ABC  job  schedule  entry would  be
retrieved and a  new job schedule  entry would be  created by the  name
of ABC2.

The existing  attributes for  such values  as the  last time  submitted
would  not be copied  and would appear  as if you  had added  a new job
schedule entry.

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

   FROMJOB       The job name of the  job schedule entry to be  copied.

   TOJOB         The job name  of the job  schedule entry to  be added.

   FROMNBR       The  entry number  of the  From Job.   The  default is
                 *ONLY  meaning it  is the  only job  schedule entry of
                 the FROMJOB name.

                 A specific number may  be used if duplicate  job names
                 exist.   The job number  assigned to the From  job can
                 be  determined by  using the  Display option  from the
                 WRKJOBSCDE  display.     Job   numbers  are   assigned
                 automatically  by  the  system  when  a  job  schedule
                 entry is added.

   TEXT          The  text  assigned to  the  new  job schedule  entry.
                 The default  is *FROMJOB  meaning the  same text  will
                 be used as on  the From job to be copied.   A specific
                 text description can be entered for the new job.

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

The user must be authorized to the TAAJOBSCDE authorization list.

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

The following TAA Tools must be on your system:

     RTVJOBSCDE      Retrieve job schedule entry
     SNDCOMPMSG      Send completion message
     SNDESCMSG       Send escape message

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

None, the tool is ready to use.

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

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

   CPYJOBSCDE    *CMD                   TAAJBSD       QATTCMD
   TAAJBSDC      *PGM       CLP         TAAJBSDC      QATTCL
					

Added to TAA Productivity tools January 1, 1999


Home Page Up to Top