Copying and pasting resource definitions

You can use the copy and paste function to add one or more BAS resource definitions to a different resource group, copy one or more CICS® resource definitions into a new or existing CSD group, or copy existing BAS or CSD groups into a list.

The CICS Explorer™ must be connected to a CICS version 4 system before you can use the copy and paste function.

Copying BAS resource definitions to a resource group

Procedure

  1. Open the resource definition view containing the BAS resource definition, or definitions, to copy to a different resource group.
  2. Right-click the resource and click Copy. You select multiple resources using the shift or Ctrl keys, but the resources must all be the same type, for example, file definitions.
  3. Copy the selection, or selections, into a different group using one of the following methods:
    • In the CICSplex Repositories view, right-click the CICSplex and click Paste. In the Perform Operation dialog, enter the name of the target group for the resource definition and click OK. The Perform Operation dialog. If you are not sure of the name, press Ctrl +space and use content assist to display a list of the available groups.
    • In the CICSplex Repositories view or the Resource Group Descriptions view, right-click the target resource group and click Paste. In the Perform Operation dialog, the name of the target group is pre-filled. Click OK.
    • In the CICSplex Repositories view or the Resource Group Descriptions view, right-click any BAS resource group and click Paste. In the Perform Operation dialog, over type the name in the Target Group field with the target for the resource definition and click OK. If you are not sure of the name, press Ctrl +space and use content assist to display a list of the available groups. Click OK.

Copying CSD resource definitions into a new, or existing group

Procedure

  1. Open the resource definition view containing the CICS resource definition, or definitions, to copy.
  2. Right-click the resource and click Copy. You select multiple resources using the shift or Ctrl keys, but the resources must all be the same type, for example, file definitions.
  3. Copy the selection, or selections, into another group using one of the following methods:
    • In the CICSplex Repositories view, right-click the CICS system group and click Paste. In the Perform Operation dialog, enter the name of the target group for the resource definition and click OK. If you are not sure of the name, press Ctrl +space and use content assist to display a list of the available groups. You create a group by typing the name in the Target Group field.
    • In the CICSplex Repositories view or the Resource Group Descriptions view, right-click the target CSD group and click Paste. In the Perform Operation dialog, the name of the target group is pre-filled. Click OK.
    • In the CICSplex Repositories view or the Resource Group Descriptions view, right-click any CSD group and click Paste. In the Perform Operation dialog, over type the name in the Target Group field with the target for the resource definition and click OK. If you are not sure of the name, press Ctrl +space and use content assist to display a list of the available groups. You create a group by typing the name in the Target Group field.

Copying BAS resource groups into a resource description, or CSD groups into a list

Procedure

  1. In the CICSplex repositories view select the CICSplex for a BAS resource group, or CICS system for a CSD group, and perform one of the following actions:
    • To copy a single group, right-click the group in either the CICSplex Repositories view or the Resource Group Definitions view, and click Copy.
    • To copy multiple groups, select the groups in the Resource Group Definitions view using the Shift or Ctrl keys, right-click the selection and click Copy.
  2. Right-click the target and click Paste. The target name is pre-filled with the selected list or resource description. You can over type the name with a different name, or clear the field and press Ctrl +space and use content assist to display the available lists or resource descriptions.

Results

If the operation is successful, the Perform Operation dialog closes and a message is displayed in the status bar.

If you are copying more than one resource, the actions are performed sequentially, and the Perform Operation dialog shows the status as each action is completed.

If one of the actions fails, an error message containing the reason codes is displayed in the Perform Operation dialog, and the failing object is identified. The message is also displayed in the Error Log view, where it is preceded by a CNX06xxE message that describes the action performed. Execution stops at the failing object. You must correct the error and restart the operation at the failing point.

A screen capture of the Perform Operation dialog showing five objects to be copied. The first two have been successful, but the third has failed as is indicated by the red cross. The failing error message is displayed at the top of the dialog box.