%DT |
Input |
A string of alphabetic characters which alter how %DT
responds. Briefly stated, the acceptable characters are:
A Ask for date input.
E Echo the answer.
F Future dates are assumed.
I Internalization, assumes the day precedes the month in input.
M Only Month and year input is allowed.
N Pure Numeric input is not allowed.
P Past dates are assumed.
R Requires time input.
S Seconds should be returned.
T Time input is allowed but not required.
X EXact date (with month and day) is required.
|
X |
Both |
X is always returned. It contains either what was
passed to %DT (in the case where %DT did not contain an A) or what the user
entered.
|
%DT("A") |
Input |
(Optional) A prompt which will be displayed prior to
the reading of the input. Without this variable, the prompt "DATE:" will be
issued.
|
|
|
|
%DT("B") |
Input |
The default answer to the "DATE:" prompt. It is your
responsibility to ensure that %DT("B") contains a valid date/time.
|
%DT(0) |
Input |
(Optional) Prevents the input date value from being
accepted if it is chronologically before, or after, a particular date.
|
Y |
Output |
%DT always returns the variable Y, which can be one
of two values:
Y=-1 The date/time was invalid. Y=YYYMMDD.HHMMSS The value determined by %DT.
|
DTOUT |
Output |
This is only defined if %DT has timed-out waiting for
input from the user.
|