Select Monthly Tasks by Day
Get the current day number,
look for tasks for that day.
$ TODAY = F$CVTIME( ,, “DAY” )
$ PRC_NAME := [.‘TODAY’]MONTHLY.COM
$ FSP = F$SEARCH( PRC_NAME )
$ IF FSP .NES. “” THEN -
$ @ &FSP
Notes:
Here’s an illustration of one method for finding tasks to be performed on a specific day of the month.
In this case, the day number is used as the name of the subdirectory where the tasks (procedures) for that day will be found. Specifically, the tasks for the first day of the month will be run.
The symbol substitution methods used in the example will be discussed in more detail in the Intermediate DCL Programming session.