Creating an event binding file

You create an event binding file in a CICS® bundle project to contain event specifications, their associated capture specifications, the EP adapter used for all events, and options to control the dispatch of events.

About this task

An event can be described in simple words, which should be written by the business manager or analyst who is interested in the event.

Business events are described initially using everyday language. You use the General Information panel in the CICS event binding editor to describe the business event. For example:
  • "I want to know whether our marketing campaign is having the expected impact. Over the next month, give me data twice a week on inquiries and sales of our two new models."
  • "There is a wave of credit card fraud from a region. Increase the level of checks for the whole range of transactions from the region. Starting Monday, send a record to a dashboard on my workstation of transactions over 1000 dollars from the region."

An event binding contains control data for one or more events. A business manager uses the CICS event binding editor to specify the event at a high level.

You specify the events for this binding in the Event Specifications tab of the Event Binding panel. As a business analyst, you set some values for the event data that you want captured. You repeat this step for each item of data you need during event processing.

Procedure

  1. Optional: If you do not already have a project for the event binding, create a new CICS Bundle project in the CICS Explorer®.
    1. If you are not already in the Resource perspective, switch to the Resource perspective. On the main menu bar, click Window > Open Perspective > Other. Choose Resource from the Open Perspective window, and click OK. The CICS Explorer switches to the Resource perspective.
    2. On the main menu bar, click File > New Wizards > Other > CICS Resources > CICS Bundle project. The Bundle Project wizard opens.
    3. In the Project name field, type a name for your new project.
    4. Click Finish.
    The new CICS Bundle project is listed in the Project Explorer view.
  2. Create a new event binding file in the project for the event binding.
    1. Right-click the project name in the Project Explorer view.
    2. From the menu, select New > Event Binding.
    3. Specify the name of the event binding file. The name must not contain embedded spaces.
    4. Click Finish.
    A new event binding file is created, and opens in the CICS event binding editor.
  3. Complete the general information describing this event binding
    1. Click the Event Binding tab in the CICS event binding editor. The event binding pane is where you specify the general information that describes this event binding.
    2. Describe the event binding. The description further identifies this event binding. You might want to describe the set of events that this binding contains.
    3. Specify the User Tag. The user tag further identifies this event binding. For example, you might want to use the user tag to assign a version number to your event bindings. The user tag has a maximum length of 8 characters. The acceptable characters are A-Z, a-z, 0-9, and _. Leading and embedded blank characters are not permitted. The string must not start with 0-9, _, or the string "xml", regardless of whether it is lowercase, uppercase, or mixed case; for example, "Xml" or "xMl".

Results

You can now create specifications and dispatcher information in your event binding file.