The DCL command:

  $ SET WATCH FILE/CLASS=class

where class=ALL/ATTACHED/ATTRIBUTES/CONTROL/DIRETORY/DUMP/MAJOR/NONE/QUOTA

will monitor selected file-activities by the current process.

[ATTACHED apperently does nothing]

CMEXEC priv required.

This command may chrash the system under certain circumstances.