Adding a column to a table
Use the following procedure to add a column to a table.
- On the BMC AMI Change Manager for Db2 Main Menu, select WORKID, and press Enter.
- On the WORKID Action Menu, type the name of the WORKID or type a wildcard pattern to display a list of work IDs. Then, select Specify Db2 definitions and press Enter.
- On the Object Specification panel, specify the name (or use wildcard characters) of any data structures to be included in a list. Then, press Enter.
- On the Mixed List panel, type E in the Act column adjacent to the table that you want to modify.
- On the Table Detail panel, type S to select Table Column List.
On the Table Columns List, type I in the Act column adjacent to the column name where you want to insert a column and press Enter.If you want to insert a line at the start of the column list, type the I in the Act column on the TOP line or the line that contains three asterisks (***). A blank line is inserted into the list of columns.
Type the Column Name, Column Type, Length, and attribute values. You can scroll to the right to enter additional column information or you can type E in the Act column to view a more detailed panel that displays the old and new values. Then, press END until the Mixed List panel is displayed.
On the Mixed List panel, press END.
- If necessary, you can make additional changes on the Object Specification panel. Then, press END until you return to the WORKID Action Menu.Now that a column has been added to a table, you can analyze a work ID and execute a worklist.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*