Performing an ALTER TABLE to Add a Column on DB2 z/OS Tables
To add a fixed length column to a table that is in reordered row format and contains one or more variable length columns, one of the following will be required, depending on whether the table can be quiesced or not.
If the Table can be Quiesced
-
Allow Extract to finish capturing transactions that happened prior to the quiesce.
-
Alter the table to add the column.
-
Reorganize the tablespace.
-
Restart Extract.
-
Allow table activity to resume.
If the Table cannot be Quiesced
- Stop Extract.
- Remove the table from the
TABLE
statement in the parameter file. - Restart Extract.
- Alter the table to add the column.
- Reorganize the tablespace.
- Stop Extract.
- Add the table back to the
TABLE
statement. - Resynchronize the source and target tables.
- Start Extract.
- Allow table activity to resume.