Hands-on Exercise
Hands-on Exercise: DIRECTORY in DCL
Elements:
F$SEARCH()
F$FILE_ATTRIBUTES()
F$FAO()
WRITE SYS$OUTPUT
Notes:
Time for a hands-on exercise!
Let’s write a Directory procedure using DCL.
The DCL elements we’ll use are:o F$SEARCH()o F$FILE_ATTRIBUTES()o F$FAO()o WRITE SYS$OUTPUT
F$FILE_ATTRIBUTES() and F$FAO() are new to our discussion. We’ll only use a small handful of their keywords and directives. We'll go over them briefly, first.