MODULE monitor command MODULE monitor command Syntax MODULE module = program, ..., program Function Create a new program module, or modify the contents of an existing module. Parameters module Name of a program module. program Name of a program in memory. Details A program module is a group of programs that can be referred to by a single name. The following monitor commands can be used to access program modules: l LOAD creates a new module (if necessary) and enters programs in the module as they are read from a disk file. l DELETEM deletes all the programs contained in a module and deletes the module.
l MDIRECTORY lists either all the modules currently in memory or all the programs in a named module. l MODULE either creates a new module or modifies the contents of an existing module. l STOREM stores in a disk file all the programs in a module. Program modules are created automatically by the LOAD monitor command when a program file is read from disk. The MODULE command can be used to create new program modules, or to expand or rearrange the contents of modules already defined in the system memory. If the specified program module does not already exist, the MODULE command will create the module. In that case, all the listed programs will be placed in the new module.
If the specified module does exist, the MODULE command will add the listed programs at the end of the module. If any of the programs are already in the specified module, they will be moved to the end of the module. Each program in memory may belong to, at most, one module. Thus, whenever a program is added to a module and the program is already in another module, the program will be removed from its previous module. eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 133