|Manuals

cics.js

The complete code for cics.js used in Loading Screen Rules from external files is:

(function () {
  zScope.hostSurfer.register({
    id: 'cics',
    match: [{ text: "CICS", row: 5, col: 1 }],
    apply: {
      handler: function (hs) {
        if (hs.screens.length==1) {
          hs.enter();
        }
      }
    }
  });
})();

This file has to be included into the screen rule repository declared as baseUrl HostSurfer constructor parameter attribute.