Use the Create Database (ADB26CD)
panel to create new
databases.
Procedure
On the DB2 Administration Menu (ADB2)
panel, specify option
2, and press Enter.
The Execute SQL Statements (ADB22)
panel is displayed, as shown
in the following figure:
Specify option 4, and press Enter.
Specify option CD, and press Enter.
The Create Database (ADB26CD)
panel is displayed, as
shown in the following figure.
Specify values for the following required parameters. Optionally, specify values for any of the
other parameters:
Required parameters
DATABASE
A database name for the new database, or enter a question mark (?) to
look up existing database names using Databases (ADB21D) panel.
Optional parameters
STOGROUP
The name of a storage group in which you want the new database to belong.
BUFFERPOOL
INDEXBP
The names of buffer pools to use as defined at installation time.
CCSID
One of the following formats: ASCII, EBCDIC, or
UNICODE.
AS WORKFILE
The work file name for data sharing environments.
AS TEMP
Indicates whether to create a database for declared temporary tables.
FOR MEMBER
A different member in which to place the new database.
Follow the instructions on the Statement Execution Prompt
(ADB2PSTM) panel panel (if enabled), as shown in
the following figure, to complete and run the SQL statement for creating the new
database.