In 5.3 we’ve changed the way that views are customised. This blog will walk through how to customise a view and then how to create and delete views.

The things that we’ve added are:
– You can have more than one instance of a resource view with different customisations
– A new customise dialog for a view, pulling all of the customisations into one place
– Operators in filters (not just “equals”)
– Multiple sort orders

The aim of these changes have been to allow you to create more than one view for each resource type (e.g. Transactions or Programs) which have different customisations. Previously you’d have to switch between different sets of filters on the same view but now you can save different views and even have them on screen at the same time.

We’ve made some videos with an overview of the new features in CICS Explorer 5.3 (http://ibm.biz/cicsexplorer53), as well as this walk-through about customising views.

Customise View Dialog

Customisations for individual views are made within the new customise view dialog which you can open using the pencil icon at the top right of each view.

edit icon

The dialog is separated into three sections, with each section used to apply different customisations.

Customise View Dialog

Looking at the example above, when the OK button is applied, the view will have the columns listed in the columns section on the left. The data within the table will be filtered so that only the items satisfying an Appl ID of “myfilter” and with an I/O Count smaller than 978 will be shown, and the data shown will be sorted firstly by CICS Release ascending and then by CICS TS Level descending. The next three headings go into more details on setting up your customisations for each section.

Columns

Columns section

Use the columns section to add and remove which columns you wish to be displayed in the view. This replaces the old customise columns dialog that you got to from the drop down menu of the view. Moving each column up and down in the list will change their position in the view.

Filters

Filters section

Use the filters section of the dialog to add multiple filters for the view. This replaces the filter box at the top of the view to free up space. Adding filters in this dialog now allows more advanced filters to be added. When a filter is added it will show in the dialog as “attribute =”. Double clicking on the filter will activate the editing mode where you will be given either a text box or drop down menu. Enter your filter text here, press enter and your filter will leave the editing mode and show you “attribute = filter_text”.

When in edit mode for a filter, you will notice there is an equals sign on the left. Clicking the equals sign will give a drop down for different operators you can choose.

Each filter will validate for its specific type, so whether the filter is for a date, text or number attribute will be stated in any error messages. Filters can also be applied to columns not shown in the view.

Sorts

Sort section

In 5.3 multiple sorts are now supported so that you can sort firstly by one column, and then by a second column. These sorts will be applied in the list order, move the attributes up and down so that the most important sort is at the top. Double clicking on an attribute changes the direction of the sort. Sorts can now also be applied to columns not shown in the view.

Applying changes made in the dialog

All changes made within the dialog will be applied to the view when you press ok, or discarded if you press cancel.

The details about the customisations applied to each view can be found in the status bar. The status message will contain “(filtered, sorted)” if filters and sorts are applied. Hovering over the status message will display a tooltip containing the details of the applied filters and sorts.

status bar

Set as Defaults

Prior to pressing OK and applying the customisations to your view, you also have the option to “Set as Defaults”. Pressing this button will store these settings as the default settings for this view meaning that in future you can make different customisations and then revert back to your default settings.

Save As…

Now that your view has your required customisations, you can instead chose to save the view as a new view. This means that the original view (in this case Regions) will still exist in the Operations/Definitions menu, and you can save your new customisations to a new view with a new name (in this case Regions with Appl ID of myfilter).

Save as

Pressing OK will close both the Save As and Customise View dialogs and open your new view.
Both the new and original view will now exist in the Operations/Definitions menu, under a sub category of the type of view.

Operations menu

Creating a new view

Using the Save As method above creates a new view, but you can also create a new view from scratch. At the bottom of the Operations/Definitions menu there is an option to “Create new table view…”. This brings up a wizard where you can select which type of table view you would like to create eg Regions, and give your new view a name. This will be added to the Operations/Definitions menu in a sub category as above.

Deleting a view

You can delete any view by opening the Customise View dialog for the view and pressing the Delete View button. This will remove the view and any customisations applied to it. This cannot be undone, however you can create the view again by using the create new view option described above and then adding any customisations in.

Join The Discussion

Your email address will not be published. Required fields are marked *