![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: How do I check a date to see if it is valid inside a DCL script? I am trying to take in the date as a paramater and am then searching files for records of that date, but I want to ensure a valid date. The Answer is : Parse the user-specified date via one of the available DCL lexical functions. eg: f$cvtime. If the parse fails, then the user-specified date is not valid.
|