TAA Tools
SBMJOBSCDE      SUBMIT JOB SCHEDULE ENTRY              TAAJBSH

The Submit Job Schedule  Entry command submits one of  the job schedule
entries  immediately.   The job schedule  entry is  not changed.   This
allows   a  batch  command  interface  instead  of  Option  10  (Submit
immediately) from the WRKJOBSCDE display.

A typical command would be:

             SBMJOBSCDE   JOB(JOB1)

JOB1 must be  a job  in the job  schedule file  as seen on  WRKJOBSCDE.
The default  would be to  submit to the  job queue defined for  the job
schedule  entry and  use the  job description as  specified in  the job
schedule entry.  By  default, the user profile  the job will run  under
is the same as the user profile in the job schedule entry.

Note that the  job is submitted by  a SBMJOB and therefore  the date of
last  successful submission is  not updated as  seen by using  Option 5
from WRKJOBSCDE.

SBMJOBSCDE escape messages you can monitor for
----------------------------------------------

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

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

   JOB           The name of the job in  the job schedule file as  seen
                 with WRKJOBSCDE.

   ENTNBR        The entry  number of  the job  schedule entry.   *ONLY
                 is  the   default  meaning  there  is   only  one  job
                 schedule entry of that name.

                 *FIRST  may be entered to  mean the first job schedule
                 entry of that name.

                 *LAST may  be entered  to mean the  last job  schedule
                 entry of that name.

                 The  specific  number  of  the required  job  schedule
                 entry may be entered.

   JOBQ          The qualified name of the job queue to be used.

                 *JOBSCDE   is  the  default  meaning   the  job  queue
                 specified in the job schedule  entry.  If *JOBSCDE  is
                 used, the library qualifier must be blank.

                 A specific  job queue  may be  named.   If a  specific
                 job  queue  is  named  and  the  library qualifier  is
                 blank,  *LIBL  will  be  used.    A  specific  library
                 qualifier, *LIBL, or *CURLIB may be entered.

   JOBD          The  qualified  name  of the  job  description  to  be
                 used.

                 *JOBSCDE  is  the  default  meaning the  user  profile
                 specified for the job schedule entry.

                 *USRPRF  may be  specified, to  mean the  current user
                 will be the  user of the  submitted job.  The  library
                 qualifier must be blank.

                 A  specific  job  description  may  be named.    If  a
                 specific  job  description is  named  and  the library
                 qualifier is blank,  *LIBL will be  used.  A  specific
                 library qualifier,  *LIBL, or *CURLIB may  be entered.

   USRPRF        The user profile to be used for the job.

                 *CURRENT  is the default meaning  the user who entered
                 SBMJOBSCDE.

                 *JOBSCDE may  be  entered  meaning  the  user  profile
                 assigned  to the  job  schedule entry.    You must  be
                 authorized  to the  user profile  assigned to  the job
                 schedule entry.

                 A  named user  profile may  be entered.   You  must be
                 authorized to the user profile.

                 The value assigned  is used on  the SBMJOB command  in
                 the USRPRF  parameter.  If *JOBSCDE  is specified, the
                 name  in  the  job  schedule  entry  is retrieved  and
                 used.  The  value value assigned  does not affect  the
                 SBMFOR parameter  of SBMJOB  (the default  of *CURRENT
                 is used).


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

None.

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

The following TAA Tools must be on your system:

     RSNLSTMSG       Resend last message
     RTVJOBSCDE      Retrieve job schedule entry
     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
   ------        ----    ---------      ----------    ----------

   SBMJOBSCDE    *CMD                   TAAJBSH       QATTCMD
   TAAJBSHC      *PGM       CLP         TAAJBSHC      QATTCL
					

Added to TAA Productivity tools October 15, 2009


Home Page Up to Top