Export and import of commands extends the concepts involved in export and import of resource definitions and migration of commands.
In addition to exporting and importing resource definitions between sites, the processing of changes via a change package also exports and imports any Add, Remove, or Delete commands associated with the change package.
"Exporting a command" means storing a copy of the command in a CICSĀ® Configuration Manager format export file on the exporting system. You do this by migrating the command to the export file. Then, using whatever method you prefer, you transfer the export file to the importing system.
"Importing a command" means adding the command that is stored in the export file to a change package on the importing system and applying the command to a CICS configuration on the importing system. You do this using the Import command.
Here is the procedure for exporting and then importing commands:
This stores copies of the commands in the export file.
The import applies the commands to the target CICS configuration (along with any selected resource definitions), and also adds the commands (and selected resource definitions) to a change package of the same name in the CICS Configuration Manager repository of the importing system.
The following figure shows the migration of a Delete command to an export file:
The change package specifies that the Delete command is associated with CICS configuration DEVT. This matches the source CICS configuration of the migration path in the migration scheme, so CICS Configuration Manager transforms the command before storing it in the export file. In this example, the migration path refers to a transformation rule set that transforms group names from *DEVT to *TEST. So the command that CICS Configuration Manager stores in the export file refers to the transformed group name PAYTEST, not the group name PAYDEVT of the original command.
The following figure shows the import of the Delete command to a separately managed system, after you have transferred the export file from the exporting system:
Importing the command has two effects: