![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: Dear Dr.Wizard, your highness, Enlighten me. Why does CDU (and DCL) translate the keyword "today" (type=$datetime) to today's date ("19-Feb-2001 00:00:00.00") when it appears in a "parameter", but not when it appears as a default in a "qualifier" ?? Example: parameter p1 label=DATE prompt="date" value(required,type=$datetime) works as described above, but qualifier SINCE default nonnegatable placement=global value(default="today",type=$datetime) simply presents the string "today" as the result of CLI$GET_VALUE If there is a way to make it work, please give an example. Thank you. The Answer is : The OpenVMS Wizard would encourage the syntax: qualifier SINCE, value(default=TODAY,type=$datetime) If you quote the string, well, that's the string that you get.
|