HostSurfer: a new cost-efficient Mainframe Modernization Solution

Modernize Legacy Systems with HostSurfer and z/Scope Anywhere

We have recently updated z/Scope Anywhere to add two powerful programming extensions that guarantee a cost-efficient Mainframe Modernization Solution: HLLAPI.js and HostSurfer.js.

What’s HLLAPI.js
z/Scope Anywhere’s HLLAPI.js is the world‘s first implementation of the facto standard IBM’s HLLAPI specialized for the web. It allows programmers to connect mainframe screens with the web, using standard client-side Javascript programming.
HLLAPI stands for High-Level Language Application Program Interface and is an IBM API that allows a DOS PC application to communicate with a mainframe computer. Further extensions (WHLLAPI, EHLLAPI, EEHLLAPI) were implemented to facilitate Windows (3.1, NT, and up) applications to use this API as a standard method to scrape screen data or exchange mainframe data with other data sources.

What’s HostSurfer.js
HostSurfer.js is a high-level javascript framework built upon HLLAPI.js to facilitate the creation of web interfaces, intelligent macros, and high-level web components, in order to modernize, extend and bridge the gap between terminal-based applications and web technologies or data sources.
HostSurfer.js can be referred to as a “mainframe modernization” tool, but it’s actually much more than that: it is a framework that allows developers to fully integrate the web with the mainframe’s legacy applications, based on the modern and most widely used programming language and runtime environments.
Unlike the other “modernization tools” that are proprietary by nature, with HostSurfer.js you will be able to design and develop new interfaces and web widgets using nothing but plain Javascript, HTML, and CSS.
And that’s not all, you can also extend green-screen applications by combining them with other web resources and have them work together.

How does HostSurfer.js work?
The communication between a mainframe and its terminals is based upon a bidirectional stream of data using the Telnet protocol. This back and forth exchange of data (comprised mostly of plain text) is maintained until the session is closed.
HostSurfer.js transforms the Telnet data stream into a set of data with values and attributes.
Based on these fields and using a high-level Javascript API that we developed.
With HostSurfer.js you can define rules to identify screens. Once the screens are identified, you can define views, automate actions, combine/transform the fields in the screen and declare navigators. These rules will allow you to create powerful front-end web extensions.

HostSurfer.js functional structure
HostSurfer.js is structured as a layered arrangement of functionally distinctive components, as depicted in the following diagram:
Mainframe modernization
The source and target of the data is the terminal-based application screen at the bottom part of the diagram.
Hllapi.js is the Javascript library that HostSurfer.js relies on to retrieve host screen information and to send single keystrokes (or entire strings) to the underlying terminal-based application.
HostSurfer.js keeps a collection of rules and screen fields. These fields determine the navigation flow and data access features, as well as, end-to-end data synchronization (data binding).
At the upper level, the integration of HostSurfer.js (in a stand-alone way or in conjunction with any Javascript-based framework) is combined with static HTML pages to accomplish the user front-end.

Find more about HostSurfer.js

There’s a huge potential for the level of enrichment that z/Scope Anywhere can achieve using HostSurfer.js. Give it a try and you’ll see how easy it is to modernize your mainframe application.

If you have any questions regarding this blog entry, you can leave a comment below or send us an email at [email protected].


z/Scope Anywhere, Web Terminal Emulator

z/Scope Anywhere offers a web-based client. Access

  • 3270
  • 5250
  • and SSH & VT hosts

…using your favorite browser!

Explore our Windows & Web host access solutions, enjoy our free 30-day trial, or book a quick call with our specialists HERE. No commitment!

Notes for current z/Scope Users

We find that many of our old customers are now adopting Windows 10 or Windows 11.
z/Scope v6.6 (desktop) and z/Scope Anywhere v8.5 (web) are fully compatible with Windows 10 and newer versions.

Do you run an older z/Scope version? Any z/Scope user covered by our Maintenance Service may update their current version at any time.
Aside from our technical support service, surely the best part of renewing your license’s maintenance is being eligible for the latest software updates and version upgrades at no extra cost.

Check out our download page or contact our technical support team to find out about the latest available version or to inquire about your renewal status.

You can also visit our Documentation page to find the available help files.

Leave a comment

Privacy Preferences
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.