High-level procedure for defining databases with DDL
IMS supports the standard CREATE, ALTER, and DROP DDL statements to create, modify, and delete IMS databases and program views.
The database (DBD) and program view (PSB) attributes and characteristics that you can specify on the DDL CREATE and ALTER statements are generally the same as the attributes and characteristics that you can specify on the macro instruction statements for the DBD and PSB generation utilities; however, the names of some parameters might be different, either to conform to the standard DDL terminology or for enhanced clarity.
To implement changes to an existing database, you must use the ALTER DATABASE statement. You can change existing tables, table spaces, or columns using the ALTER TABLE and ALTER TABLESPACE statements. You can also add or remove these objects from the database description using CREATE and DROP statements.
To make changes to an existing table in a database, use the ALTER TABLE statement.
To make changes to the columns, logical child (LCHILD), and map descriptions in the table, also use the ALTER TABLE statement.
Some things are general to all database types, for example the change data capture exit. Other things are specific to a DB type, for example the partition selection exit for HALDBs and randomizers for DEDBs, HDAMS, and PHDAMs.