Trigger IBM Personal Communication Macro from a Java Application
Posted on 2006-12-01
At the moment we have a java application that uses Host-on-Demand (HOD) to access Host via XML Macros. Due to certain conditions (don't ask), we have to use IBM Personal Communication (PCOMM) now to access HOST/MainFrame.
I can always re-write the HOD XML macros into VB/PCOMM Macros but I need a way to trigger them from Java Application. That is, the application will send information to PCOMM and trigger the macro. I also would like to know if there is a way to change code to use PCOMM instead of HOD and still run the existing macros (would they work?) which are in XML (HASCRIPT) which would be a easier solution to implement.
Things i have tried/looked at:
- Runtime Exec
- Host Access Class Library (There is a STARTMACRO function for C++, VB, Lotus Notes but not for Java)
- Host Access Beans Library (looking into at the moment - used in HOD)
Thanks in advance.