HP 3000 Manuals

CREATE DOMAIN [ HP SYSTEM DICTIONARY XL SDMAIN ] MPE/iX 5.0 Documentation


HP SYSTEM DICTIONARY XL SDMAIN

CREATE DOMAIN 

Creates a new domain.

Syntax 

     C[REATE] D[OMAIN] domain-name 
            [;INT[ERNAL] = internal-name]
             ;V[ERSION] = version-name 
            [;V[ERSION-]INT[ERNAL] = intern-version-name]
            [;C[OMMON] = common-version-name]
            [;SEN[SITIVITY] = sensitivity]
            .

Parameters 

domain-name           External name of the domain to be created.

internal-name         Internal name of the domain to be created.  If not
                      specified, the internal name is the same as the
                      domain-name.

version-name          External name of the version to create for this
                      domain.

intern-version-name   Internal name of the version created for this
                      domain.  If not specified, the internal name is the
                      same as the version-name.

common-version-name   Name of the common domain version to which this
                      local domain version is linked.  This keyword is
                      not allowed if the dictionary is open in the common
                      domain.  If COMMON is omitted, no link to a version
                      in the common domain is established.

sensitivity           Specifies whether other scopes are allowed to
                      access the domain.  Valid values are:

                      private       Only the DA and owner scope can
                                    access the domain.

                      public        Any scope may access the domain.

                      The default is public.

Description 

The version created with the domain has its status set to test.  Refer to
the SETVERSION command for information about changing the status of a
version.

To avoid possible name conflicts with any future extensions to the core
set, do not create any domains with a name starting with the characters
"HP" .

Open Mode:       Shared-update or exclusive-update

Scope:           DA scope or any scope with domain capability.  The scope
                 with which the dictionary is open is the owner of the
                 domain.

Example 

The following example creates the new domain testdomain1 as a public
domain with a version testversion that is linked to the version version1
in the common domain.

     >CREATE DOMAIN testdomain1; 
     >>VERSION = testversion; 
     >>COMMON = version1. 
     >


MPE/iX 5.0 Documentation