LOADMOD CMS Transient command Use the LOADMOD command to load a MODULE file into storage. The file must be in nonrelocatable format as created by the GENMOD command. The format of the LOADMOD command is: +----------+------------------------------------------------------------------+ | LOADMod | fn [MODULE [fm|*]] | +----------+------------------------------------------------------------------+ where: fn is the filename of the file to be loaded into storage. The filetype must be MODULE. ft is the filemode of the module to be loaded. If not specified, or specified as an asterisk, all your disks are searched for the file. Usage notes: 1. You can use the LOADMOD command when you want to debug a CMS MODULE file. After the file is loaded, you may set address stops or breakpoints before you begin execution with the START command; for example: loadmod prog1 cp adstop 210ae start 2. If a MODULE file was created using the DOS option of the GENMOD command, the CMS/DOS environment must be active when it is loaded. If it was created using the OS option (the default), the CMS/DOS environment must not be active when it is loaded. 3. MODULE files created with the ALL option, or with SYSTEM option and loaded into the transient area, may be loaded regardless of whether the CMS/DOS environment is active. If the LOADMOD command is called from a program, the loading is also done regardless of whether the CMS/DOS environment is active. 4. When in CMS SUBSET mode, a LOADMOD into the user area results in a return code of 32.