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.

CICS Explorer® must be connected to a CICS Version 4 or later system before you can use the copy and paste function.

Copying BAS resource definitions to a resource group

  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 can use the Shift or Ctrl keys (shift or cmd keys for macOS) to select multiple resources, 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 Definitions 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 Definitions 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

  1. Open the resource definition view containing the CICS resource definition, or definitions, to copy.
  2. Right-click the resource and click Copy. You can use the Shift or Ctrl keys (shift or cmd keys for macOS) to select multiple resources, 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 Definitions 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 Definitions 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

  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, use the Shift or Ctrl keys (shift or cmd keys for macOS) to select the groups in the Resource Group Definitions view, right-click the selection and click Copy.
  2. In the CICSplex Repositories view or the Group List definitions view, right-click any BAS resource description or CSD group list, and click Paste. In the Perform Operation dialog, over type the name in the List Name field with the target name 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 lists.

    If you want to paste the CSD group into a new list, type the new name in the List Name field and click OK. BAS resource groups can be copied only into an existing resource definition. You can create a new resource definition by right-clicking in the Resource Group Definitions view and clicking New.

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.