/*JTS HOLD_UNTIL
JTS User Statement
This JECL statement allows job submitters to apply a JTS hold, and describe when the hold is to be removed.
/*JTS HOLD_UNTIL //*+JTS HOLD_UNTIL | [DATE=numeric-date | alphabetic-date] [[AT | TIME]=numeric-time | alphabetic-time] |
DATE=numeric-date
This keyword allows you to specify the date on which the JTS hold is to be removed.
If DATE is not specified, TODAY is assumed.
numeric-date
To describe the actual date, you can use one of the following Julian date formats:
yy.ddd
ddd
In these formats:
yyyy represents all the digits for a calendar year, for example 2001.
yy represents the last two digits of a calendar year. For example, for 2001, yy is 01.
ddd represents the day (from 1 to 365 or 366 depending on the year) including leading zeros.
Instead of the DATE keyword, you can use one of the following alphabetic keywords:
TUESDAY | TUE
WEDNESDAY | WED
THURSDAY | THU
FRIDAY | FRI
SATURDAY | SAT
SUNDAY | SUN
TODAY
TODAY[+ddd]
The day that you specify represents the next occurrence of the day of the week. For example, if you specify FRIDAY and the job is submitted on a Friday, the job is delayed until next Friday.
TODAY
Indicates that the JTS hold is to be removed on the day it is submitted. TODAY begins one minute after midnight, therefore this form should be accompanied by a TIME keyword (see below).
TODAY+ddd
Specifies a relative day on which the JTS hold is to be removed.
ddd
Represents the number of days to be added to the date.
AT=numeric-time
TIME=numeric-time
This keyword allows you to specify the time that the JTS hold is to be removed.
If TIME or AT is not specified, a default value specified by your installation is used.
numeric-time
The valid numeric values that you can specify are:
hh:mm | hhmm
In these formats:
hh represents the hour as read from a 24-hour clock.
mm represents the minutes.
alphabetic-time
Instead of the TIME or AT keyword, you can use one of the following alphabetic keywords:
AFTERNOON
TONIGHT | NIGHT
NOW+mmmm
NOW+mmmm
The actual time values of the above keywords (except NOW) are set by your installation.
NOW+mmmm
Indicates a relative number of minutes from the time of job submission. This keyword is mutually exclusive with any DATE keyword. mmmm represents the number of minutes (1-1440) to be added to the current time.
Examples:
/*JTS HOLD_UNTIL MONDAY AT=08:30
//*+JTS HOLD_UNTIL MONDAY NIGHT
//*+JTS HOLD_UNTIL NOW+120