Dec.19

Power of Global Rules in HATS

For modernization of green screen legacy applications, pattern recognition and transformation of host input fields can be achieved by HATS global rules, Global rules can work with customized and non-customized (default rendered) screens. They can be defined at project level and screen level both.

In a situation where project-level and a screen-level global rule are both defined for the same field, the screen-level rule has higher priority.

Project-level global rules are really global for the HATS application; they are effective in screens both transformed by the rendering set, and by custom transformations. This enables entire application to recognize a particular host screen pattern without modifying any of your screen level transformations.

A global rule contains a configured recognition pattern and a transformation fragment. The pattern configuration states what kind of content to look for on the host screen. It transforms specific fields or all fields of a certain size, or those adjacent to a string you specify.
More effective use of global rules is possible when host application has uniformity along the complete application, like all F4 Lookup fields have an identification symbol (e.g “ -> “)  or word on host.

 

Samples

Following are few examples of global rules applied by the HATS, these can be applied once and users can witness the impact on all over the system.

Look Up Icon

We can create a rule in our HATS application to replace all appearances of “->” to an icon (e.g. Magnifying Glass) on clicking this icon HATS will send some command or function key to host (e.g. F4). This can be used to open a lookup window like following.

 

1

Clicking one row from the popover lookup window fills the corresponding field on the parent page.

 

2

 

Month Picker

We can create a rule to put all fields with some identification for being a month (e.g. “M/Y”) to put an icon with them.

3

When user clicks a month it is auto inserted into the corresponding text field.

 

 

Date Picker

Date pickers can be applied to the complete application using global rules, but there has to be some identification on host application to let HATS know where it should generate a date picker icon.

4

Clicking icon will open a JavaScript date picker, date chosen on the date picker will be auto inserted into the corresponding text fields.

Boolean Inputs

A global rule can be created to display a yes/no drop down with every field with some identification (e.g.” y/n”)

5

 

Global theme

We can apply a global theme with header, footer and background, this theme applies to all the screens of the application in one go.

6

 

Menu Items

Global rules using HATS default rendering can modernize the look and feel of the menu items across the application.

 

8

 

 

Sub files and tables,

Sub files and tables can also be modernized with improved look and feel by using global rules.

9

 

Function Key Button

We can create global rules to modernize all function key indications to buttons styled with CSS, but there has to be a consistency among function key and its text or purpose. (i.e. F1 has to be used for help for the entire application and F4 has to be only used for prompt everywhere in the application)

If a green screen application fails to provide such consistency the HATS will have difficulty in applying the correct icon on the button.

Also the text associated with the Function key has to be of approximately an average length so that the modernized button can hold the text else the text may overflow from the button, as we can only make button of a fixed width using a global rule. A work around to handle this overflowing text is by chopping off some part of the lengthier text caption.

10

 

 

Grids and drop downs

Global rules can globally apply table/grid themes and let us produce drop down input fields to perform actions on the table records.

11

 

Share this Story:
  • facebook
  • twitter
  • gplus

About Asif Hussain

In the software industry from 2002, having experience in design, development, and analysis of enterprise software products, project management and public speaking.

Handled dozens of e-commerce web projects. Involved in development and implementation of financial applications and online stock trading platforms for banks and brokerage houses. Also worked on projects for Oil & Gas Marketing companies and Car Tracker systems.

Specializes in Enterprise Application Modernization, Islamic Murabaha / Margin Financing solutions, Portfolio management, Trade Settlement, and Online Stock Trading Engines.

Have worked as lead implementer for Customer Relationship Management systems (Oracle's Siebel CRM on demand & Sugar CRM).

Also have worked as lead analyst, project manager, and data migration expert for huge projects in government sector.

Currently working as 'Project Manager', Trainer and Senior Consultant, IBM Rational Enterprise Modernization' using IBM Rational HATS/HOD for Royal Cyber projects worldwide.

I am an MBA(Marketing) from College of Business Management(CBM/IoBM). Prior to that, graduated in Computer Engineering from Bahria University.

Leave a comment

*