Library /sys$common/syshlp/SYSGEN.HLB  —  WRITE
    Writes the system parameter values and the name of the site-
    independent startup command procedure from the SYSGEN work area
    to a parameter file, the current system parameter file on disk,
    or the active system in memory.

    Format

      WRITE  file-spec

1  –  Parameters

 file-spec

    The file specification of a new parameter file to be created. The
    default file type is .PAR.

    In place of a file specification, you can specify one of the
    following keywords:

 CURRENT

    Specifies that source information is to be written to the current
    system parameter file on disk. The new values will take effect
    the next time the system is booted.

    On Alpha systems, the system parameter file is
    SYS$SYSTEM:ALPHAVMSSYS.PAR.

    On Integrity servers, the system parameter file is
    SYS$SYSTEM:IA64VMSSYS.PAR.

    Use of the WRITE CURRENT command requires the SYSPRV privilege.

 ACTIVE

    Specifies that source information is to be written to the active
    system in memory. The new values of dynamic parameters will take
    effect immediately. (Only the dynamic parameter values are
    written to the active system.)

    Use of the WRITE ACTIVE command requires the CMKRNL privilege.

2  –  Qualifiers

    None.

3  –  Description

    System managers can receive notification of a change to the
    system parameter file by setting up an access control list (ACL)
    on the file to signal such an event, as in the following example:

    $ SET SECURITY/ACL=(ALARM=SECURITY,ACCESS=WRITE+FAILURE+SUCCESS)-
    _$ SYS$SYSTEM:X86_64VMSSYS.PAR

    For more information about setting ACLs, refer to the VSI OpenVMS
    User's Manual and the VSI OpenVMS Guide to System Security.

    Both the WRITE ACTIVE and WRITE CURRENT commands send a message
    to OPCOM and log the event. The audit log also provides a list of
    the changed parameters along with their old and new values.

4  –  Examples

    1.SYSGEN> WRITE SYS$SYSTEM:SPECIAL

      This command creates a new parameter specification file,
      SYS$SYSTEM:SPECIAL.PAR.

    2.SYSGEN> WRITE CURRENT

      On x86 systems, command modifies the current system
      parameter on disk, X86_64VMSSYS.PAR.

      On Integrity servers, this command modifies the current
      system parameter file on disk, IA64VMSSYS.PAR.

      On Alpha systems, this command modifies the current system
      parameter file on disk, ALPHAVMSSYS.PAR.
Close Help