Importing changes
You can create a change by importing SQL statements from a data set. When you import the statements, a new change is created and registered. You can import multiple delta changes as a group in one change.
About this task
You can import SQL statements (DDL), delta changes that are generated by IBM® Db2 Object Comparison Tool for z/OS®, or a mix of SQL statements and delta changes if they logically relate.
Object Comparison Tool creates a delta change if CHANGE is specified for the Generate apply jobs field on the Generate Compare Jobs (GOC5) panel. (This specification generates parameter CMDELTA for GOC2CMP).
- When you import SQL statements into a change, the subsystem that is used for the import operation must support the SQL statements that you are importing.
- If you are importing a delta changes data set, the data set must represent one generated delta changes file. Concatenating or merging multiple data sets into one can cause unpredictable results, because statements are reordered during the import process.
- The data sets from which you are importing the SQL statements must be one of the following types:
- One of the following delta changes data sets:
- A delta changes data set that was generated by Change Management when changes were promoted from another system, as described in Promoting changes.
- A delta changes data set that was generated by Object Comparison Tool when you set the Generate apply jobs field to Change on the Generate Compare Jobs (GOC5) panel. (See Generating a compare batch job (IBM Db2 Object Comparison Tool for z/OS 13.1.0).)
- A data set that contains SQL statements and meets the following requirements:
- A fixed-block sequential data set (
RECFM=Fx
) - A member of a partitioned data set with a logical record length of 80
(
LRECL=80
)
- A fixed-block sequential data set (
- One of the following delta changes data sets:
You can create a single change by importing multiple files at the same time; all data set types that are valid for import operations can be part of the same import.
During the import process, the syntax of each change statement in the imported SQL statements is checked. However, semantic checking is done during the analyze process.
Procedure
To import changes: