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
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 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
- Optional: If you do not already have a project for the event binding, create a new CICS Bundle project in the CICS Explorer®.
- If you are not already in the Resource perspective,
switch to the Resource perspective.
On the main menu bar,
click . Choose Resource from
the Open Perspective window, and click OK.
The CICS Explorer switches
to the Resource perspective.
- On the main menu bar, click .
The Bundle Project wizard opens.
- In the Project name field, type
a name for your new project.
- Click Finish.
The new CICS Bundle
project is listed in the Project Explorer view.
- Create a new event binding file in the project for the
event binding.
- Right-click the project name in the Project
Explorer view.
- From the menu, select .
- Specify the name of the event binding file.
The
name must not contain embedded spaces.
- Click Finish.
A new event binding file is created, and opens in the Event binding editor.
- Complete the general information describing this event
binding
- Click the Event Binding tab in
the Event binding editor.
The event binding pane is where you specify the general information
that describes this event binding.
- Describe the event binding.
The description
further identifies this event binding. You might want to describe
the set of events that this binding contains.
- 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.