SBMTIMJOB SUBMIT TIME JOB TAAJOCP |
The Submit Time Job command is a compatibility command for a former
version of a QUSRTOOL TAA command. The TAA Tool was removed when
time dependent scheduling was added to the system. The new version
of SBMTIMJOB provides a compatible command interface and does SBMJOB
with SCDDATE and SCDTIME parameters. For new programs, SBMJOB should
be used directly.
A typical command would be:
SBMTIMJOB RQSDTA(...) HOUR(22) MIN(00)
The command specified in the RQSDTA parameter would be submitted to
run at 10:00 PM today.
SBMTIMJOB will continue to be supported as a TAA Tool and may be used
for new programs. However, the same function can be achieved with
SBMJOB.
The STRTIMSCH function required by the QUSRTOOL version is no longer
needed because the SBMTIMJOB command is turned into a SBMJOB command
with the SCDDATE and SCDTIME parameters specified.
The function of sending a time dependent message supported by the
QUSRTOOL version is provided by the SNDTIMMSG TAA Tool. This portion
of the former tool was reworked to a new version.
SBMTIMJOB Command parameters *CMD
----------------------------
RQSDTA The command to be executed in batch. Request data
may also be used instead of a command.
HOUR The hour for the job to scheduled. Military time
must be specified (10:00 PM is hour 22). The value
must be between 00 and 23. This is the hour the job
will be released from the job queue and may not be
the time the job is run.
*NOW may be entered to submit the job immediately.
If *NOW is used, the MIN value must be 00 and the
current time is used.
MIN The minute of the hour for the job to be scheduled.
The default is 00. The entry must be between 00 and
59. This is the minute the job will be released
from the job queue and may not be the time the job
is run.
DATE The date the job is to be scheduled. The default is
*TODAY. Special values *DAY1, *DAY2 ... *DAY14 may
be entered to provide a date from 1 to 14 days in
the future.
JOB The name of the job to be scheduled. The default is
*JOBD meaning to use the name provided for the JOBD
parameter.
JOBD The qualified name of the job description to be
used. The default is QBATCH in *LIBL.
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
ADDDAT Add date
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
SBMTIMJOB *CMD TAAJOCP QATTCMD
TAAJOCPC *PGM CLP TAAJOCPC QATTCL
|
Added to TAA Productivity tools January 1, 1999