objectspace create
Creates a protected object space under which protected objects can be placed.
Requires authentication (administrator ID and password) to use.
objectspace create objectspace_name description type
The root of the new protected object space automatically has the ispolicyattachable option set to true.
Options
description Description of the new object space. A valid description is an alphanumeric string that is not case-sensitive. String values are expected to be characters that are part of the local code set. If the description contains a space, enclose the description in double quotation marks. We can specify an empty string ("") to clear an existing description. An example description is "Accounting".
objectspace_name Name of the object space to be created. A valid object space name is an alphanumeric string that is not case-sensitive. String values are expected to be characters that are part of the local code set. Examples of object space names are /Management and /WebSEAL. type Type of the object space to be created. Types range from 0 to 17. For example, types 10 or 16 are appropriate for objects and object spaces. We can assign any of the following types:
0 Unknown 1 Secure domain 2 File 3 Executable program 4 Directory 5 Junction 6 WebSEAL server 7 Unused 8 Unused 9 HTTP server 10 Nonexistent object 11 Container object 12 Leaf object 13 Port 14 Application container object 15 Application leaf object 16 Management object 17 Unused
Return codes
0 Command completed successfully. 1 Command failed. When a command fails, the pdadmin command provides a description of the error and an error status code in hexadecimal format (for example, 0x14c012f2). See "Error messages" in the IBM Knowledge Center. This reference provides a list of the ISAM error messages by decimal or hexadecimal codes.
Examples
- Create an object space named /Test-Space that is an application container object (type 14):
pdadmin sec_master> objectspace create /Test-Space "New Object Space" 14
- Create an object space named /Dept4D4 that is a management object (type 16):
pdadmin sec_master> objectspace create /Dept4D4 "Department 4D4" 16
See also
Parent topic: pdadmin commands