You can create a tenant in a multi-tenant database using OpenEdge Management either by creating it directly or by generating and running a tenant configuration program. A tenant configuration program is an ABL procedure (.p file) that defines the settings required to create a tenant.

You can generate the tenant configuration program for a new tenant or reuse an existing tenant’s configuration. In both cases, generating the program creates a .p file that you then run to create a new tenant with its properties and partition assignments.

If you generate the program from an existing tenant, you can also include the domain and user information associated with that tenant. For a new tenant, domain and user information is not yet available in the database and is therefore not included in the program.

You can use the generated program as a template for writing your own tenant creation program within your ABL application. You can also modify a generated program before you run it.

For more information about generating a tenant configuration program, see Create a new tenant or tenant program. For more information about generating a program from an existing tenant, see Generate a tenant program from an existing tenant.