PRMGBL

From VSI OpenVMS Wiki
Jump to: navigation, search

PRMGBL is a privilege that allows a process to create or delete permanent global sections by executing the Create and Map Section ($CRMPSC) or the Delete Global Section ($DGBLSC) system service. In addition, a process with this privilege (plus CMKRNL and SYSGBL privileges) can use the Install utility (INSTALL).

Global sections are shared structures that can be mapped simultaneously in the virtual address space of many processes. All processes see the same code or data. Global sections are used for reentrant subroutines or data buffers.

If permanent global sections are not explicitly deleted, they tie up space in the global section and global page tables, which are limited resources.