Changing the data type and length of a column
Use the following procedure to change the data type of a column and the length of a column. You can also change any of the column attributes for existing data, provided that the data can be converted to the new definition.
- 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 CO in the Act column adjacent to the table that you want to modify.
On the Table Columns List, modify the value of the Column Type column for the column that you want to change.
- Modify the value of the Length column for the column that you want to change.
- Press END.
On the Mixed List panel, press END until the WORKID Action Menu is displayed.
Now that the data type of a column has been changed, 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*