Introduction to the Host Access Class Library for Java
The Host Access Class Library (HACL) for Java provides a core set of classes and methods that allow the development of platform independent applications that can access host information at the data stream level.
Functionalities included in HACL:-
HACL is a significant improvement over traditional emulator programming interfaces, like EHLLAPI. Important ones are as below:
To write a HACL applications developer must understand the following concepts and API’s provided by HACL
For more information about other classes please refer to IBM Host On-Demand knowledge centre.
Sample HACL Application:
Code corresponding to the above sample application:
How to run this sample:
Step 1: Double click on HACL_demo.jar
Step 2: Provide host details
Step 3: Click on connect button
Step 4: Click on Console button to see the PS data
Step 5: Try to set data on specified position, or row and col.
Step 6: Send a key mnemonic like [enter] using SendKey option
Step 7: View the same getting updated on the console.
Chief Programmer, HOD