You choose an EP adapter set resource for an event binding or a policy in a CICS® bundle project.
About this task
In this task you choose an EP adapter set resource either for an event binding in the
Adapter tab of the CICS event binding
editor, or for a policy to emit event to in the Rules tab of the policy
definition editor.
There are some situations where you might want to choose the resource. For example:
- EPADAPTERSET resource is imported from the workspace as a separate XML file. You can select a
resource from a list of EPADAPTERSET names.
- You want to pick up a EPADAPTERSET resource name from the ones that are installed in a connected
CICS region or CICSPlex®.
Procedure
- Open the Choose an EP Adapter Set dialog in either of the following
ways:
- For an event binding, perform the following steps:
- If you do not already have a project with an event binding, create a CICS bundle project and a new event binding file in the CICS Explorer®. For detailed instructions, see Creating an event binding file.
- Double-click the event binding file in the Project Explorer view.
- Click the Adapter tab in the CICS
event binding editor and select Use a predefined EPADAPTERSET resource.
- Click Choose.
- For a policy, perform the following steps:
- If you do not already have a policy task or system rule, create a policy in a CICS bundle
project and a task or system rule by using the CICS Explorer. For detailed instructions, see Creating and deploying a policy in a CICS Bundle project in the CICS Explorer product
documentation.
- Click the Rules tab in the policy definition editor.
- In the Action section, select Emit an event to. Then select
EP Adapter Set from the drop-down list.
- Click Choose.
- Choose an EP adapter set.
You can use the following options to specify an EPADAPTERSET name:
- Type the EP adapter set name in the Name field.
- Select an EP adapter set from a list found in the workspace.
- Select an EP adapter set from a list found in a connected CICS region or CICSplex. If you are not connected to CICS at the time, you can connect by clicking CICS System Mangement
connection.
Results
If you complete the task for an event binding, you specified the EP adapter set name for the
event binding. If you complete the task for a policy, you specified the event adapter set to which
an event is emitted when the policy rule condition is met.