Understanding the sde create Command

This command creates a Design Area. The Design Area can be used personally or shared to provide a common working environment for team members.

See Also
Creating a Design Area
sde create Command Options

You can create a Design Area for personal use or create a shared Design Area that can be used by a team. Use the Design Responsibility to determine who can use your shared Design Areas.

When the Design Area is created as a shared Design Area, it is created with group write permissions so that users within the same UNIX group can connect to a Design Area.

When you create a Design Area, the command:

  1. Validates that you have the correct responsibilities to create a Design Area.
  2. Sets the Design Area variables.
  3. Creates the Design Area object on the server and connects it to the Design Responsibility.
  4. Fetches the full metadata for the components of the Design Environment.
  5. Creates the directory and stores the metadata in the directory.
  6. Configures item and file caching if those have been configured for the system.
  7. Configures the Design Area to start the tools as defined in the toolset.
  8. Fetches the software logical items associated with the Design Environment into the Design Area.
  9. Fetches any software logical item associated with the Design Responsibility into the Design Area.
  10. Records the new Design Area name and workspace path into your local list of Design Areas.

If you run the sde create command on an existing Design Area, it:

  1. Fetches details of this Design Area from the server.
  2. Verifies that you are approved for working on this Responsibility.
  3. Verifies that you are either already a member of the Design Area, or that it is tagged as shareable.
  4. Determines if the workspace path for the Design Area exists locally. If it does not, the command creates the workspace path. If it does, the command uses the existing workspace and sends you a reminder to run =sde update to insure you have the most current configuration.
  5. Optionally updates the Design Area on the platform with the new path.
  6. If you were not already a member of the Design Area, adds you as a member. This is equivalent to running an sde join.
  7. Adds the Design Area to your local list of Design Areas.

Each Design Area is created with a name. For ease of use for shared Design Areas, it is ideal to use a name that explains the purpose of the Design Area or the target group who uses the Design Area. If you do not specify a name when you create a Design Area, the default, generated name uses the format yourusername[_#], beginning with the number 1. For example, if rsmith creates a set of Design Areas without providing a name, the first Design Area is rsmith, the next rsmith_1 , and the next rsmith_2 .

The create command requires a directory to store the Design Area. This specified directory must be created by the command; it cannot exist already. If no directory is specified, the default directory is used. The default directory is the Design Area Path value from the Design Environment. This value can include variables as part of the path name. All variables start with $ so the system knows what to evaluate. The options for variables within the Design Area Path value are:

UNIX Environment Variables
This can be any UNIX environment variable typically set on the system. For example, a user-specific variable, like $USER or a global environment variable, such as $PROJECTS_DIR .
Variables Created by the sde create Command
When the command runs, it creates some supporting variables for the Design Area, which are immediately available for use. For more information, see Default Design Environment Variables.