Writing Real Programs in DCL, Second Edition

The following sections describe the commands available with MODL. The commands are described in alphabetical order.
The ADD command assigns keywords to users.
ADD <span class="emphasis"><ikeyword</i></span>, <span class="emphasis"><iuser</i></span>,
The keyword parameter is a single keyword or a list of keywords to be added to users. The keywords must have been previously defined with the REGISTER command.
The user parameter is a single user or a list of users to receive the keywords. The users must have been previously defined with the REGISTER command. The word SELF can be used in the list to specify the current user.
The CLOSE command closes the current MODL distribution file.
CLOSE
The current MODL distribution file is closed. After this command is used, no MODL file is selected.
The CREATE command creates a new MODL distribution file.
CREATE <span class="emphasis"><ifile-spec</i></span> "<span class="emphasis"><ititle</i></span>"
The file-spec parameter provides the specification of the new MODL file. If no device and directory are included, the file is created in the working directory. MODL provides a default file type of MODL_FILE.
The title parameter specifies a descriptive title for the new distribution file.
The new distribution file contains no registered users or keywords.
The DEREGISTER command removes the definitions of users or keywords from the MODL...