1 DEINSTALL Deinstalls a page or swap file. Requires CMKRNL privilege. Any file installed with the SYSGEN command INSTALL can be deinstalled. If the specified file is being actively used by processes, this command simply marks the file as "deinstall pending". This prevents any new assignments or reservations to the file from occurring. When all outstanding references to the file have been removed, the deinstallation will complete. Files in the deinstall pending state are identified in the DCL command SHOW MEMORY/FILES display. Format DEINSTALL file-spec DEINSTALL/ALL DEINSTALL/INDEX=n 2 Parameter file-spec Specifies the name of a file that is to be deinstalled as a page or swap file. 2 Qualifiers /PAGEFILE Specifies that the file to be deinstalled is a page file. /SWAPFILE Specifies that the file to be deinstalled is a swap file. The /SWAPFILE qualifier is not available on x86. /ALL Deinstalls all page and swap files currently installed on the system. This command is most useful during an orderly system shutdown procedure where all disk volumes are being dismounted. No other parameters or qualifiers are allowed. /INDEX /INDEX=n Deinstalls a page or swap file specified by page file index. The page file index is presented in the DCL command SHOW MEMORY/FILES/FULL display as "Page File Number." No other parameters or qualifiers are allowed. 2 Example SYSGEN> DEINSTALL DRA1:[SYSEXE]PAGEFILE.SYS /PAGEFILE