Discussion:
[hercules-390] EHLLAPI access
javatech@yahoo.com [hercules-390]
2017-08-31 10:03:26 UTC
Permalink
Hi,
I have a need to automate a process to access an emulator using Java. I think I have figured out how to do that.


But I would like to know if EHLLAPI(https://www.ibm.com/support/knowledgecenter/SSEQ5Y_5.9.0/com.ibm.pcomm.doc/books/html/emulator_programming07.htm) can be used to connect to Hercules running on my Windows 8 PC.


I don't need to do anything complex. Just connect and scrape text. I assume Hercules can be installed on Windows 8 for this simple test.


Thanks,
Mohan
Bert Lindeman bert.lindeman@gmail.com [hercules-390]
2017-08-31 10:54:22 UTC
Permalink
Hi Mohan,

From former work experience I know PCOMM EHLLAPI can do that.
We managed a few vm and mvs systems on z/OS like that. Automated IPL etc.
Back then running OS/2; later on windows XP and further.
But be advised Pcomm 12 on windows 10 no longer supports ReXX with EHLLAPI.
From:
https://www.ibm.com/support/knowledgecenter/SSEQ5Y_12.0.0/com.ibm.pcomm.doc/readme/readV120.html
====
Discontinuation of support

    CM Mouse support
    REXX EHLLAPI support
====

Regards,
Bert
Hi,
     I have a need to automate a process to access an emulator using
Java. I think I have figured out how to do that.
But I would like to know if
EHLLAPI(https://www.ibm.com/support/knowledgecenter/SSEQ5Y_5.9.0/com.ibm.pcomm.doc/books/html/emulator_programming07.htm)
can be used to connect to Hercules running on my Windows 8 PC.
I don't need to do anything complex. Just connect and scrape text. I
assume Hercules can be installed on Windows 8 for this simple test.
Thanks,
Mohan
---
Deze e-mail is gecontroleerd op virussen door AVG.
http://www.avg.com
Jon Perryman jperryma@pacbell.net [hercules-390]
2017-08-31 14:57:56 UTC
Permalink
Assuming you are using PCOMM as your TN3270 emulator, then you are correct. If not, then you will need to look at the API for your TN3270.
Jon.

On Thursday, August 31, 2017 3:03 AM, "***@yahoo.com [hercules-390]" <hercules-***@yahoogroups.com> wrote:


  Hi,     I have a need to automate a process to access an emulator using Java. I think I have figured out how to do that.
But I would like to know if EHLLAPI(https://www.ibm.com/support/knowledgecenter/SSEQ5Y_5.9.0/com.ibm.pcomm.doc/books/html/emulator_programming07.htm) can be used to connect to Hercules running on my Windows 8 PC..
#yiv5822304769 #yiv5822304769 -- #yiv5822304769ygrp-mkp {border:1px solid #d8d8d8;font-family:Arial;margin:10px 0;padding:0 10px;}#yiv5822304769 #yiv5822304769ygrp-mkp hr {border:1px solid #d8d8d8;}#yiv5822304769 #yiv5822304769ygrp-mkp #yiv5822304769hd {color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px 0;}#yiv5822304769 #yiv5822304769ygrp-mkp #yiv5822304769ads {margin-bottom:10px;}#yiv5822304769 #yiv5822304769ygrp-mkp .yiv5822304769ad {padding:0 0;}#yiv5822304769 #yiv5822304769ygrp-mkp .yiv5822304769ad p {margin:0;}#yiv5822304769 #yiv5822304769ygrp-mkp .yiv5822304769ad a {color:#0000ff;text-decoration:none;}#yiv5822304769 #yiv5822304769ygrp-sponsor #yiv5822304769ygrp-lc {font-family:Arial;}#yiv5822304769 #yiv5822304769ygrp-sponsor #yiv5822304769ygrp-lc #yiv5822304769hd {margin:10px 0px;font-weight:700;font-size:78%;line-height:122%;}#yiv5822304769 #yiv5822304769ygrp-sponsor #yiv5822304769ygrp-lc .yiv5822304769ad {margin-bottom:10px;padding:0 0;}#yiv5822304769 #yiv5822304769actions {font-family:Verdana;font-size:11px;padding:10px 0;}#yiv5822304769 #yiv5822304769activity {background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}#yiv5822304769 #yiv5822304769activity span {font-weight:700;}#yiv5822304769 #yiv5822304769activity span:first-child {text-transform:uppercase;}#yiv5822304769 #yiv5822304769activity span a {color:#5085b6;text-decoration:none;}#yiv5822304769 #yiv5822304769activity span span {color:#ff7900;}#yiv5822304769 #yiv5822304769activity span .yiv5822304769underline {text-decoration:underline;}#yiv5822304769 .yiv5822304769attach {clear:both;display:table;font-family:Arial;font-size:12px;padding:10px 0;width:400px;}#yiv5822304769 .yiv5822304769attach div a {text-decoration:none;}#yiv5822304769 .yiv5822304769attach img {border:none;padding-right:5px;}#yiv5822304769 .yiv5822304769attach label {display:block;margin-bottom:5px;}#yiv5822304769 .yiv5822304769attach label a {text-decoration:none;}#yiv5822304769 blockquote {margin:0 0 0 4px;}#yiv5822304769 .yiv5822304769bold {font-family:Arial;font-size:13px;font-weight:700;}#yiv5822304769 .yiv5822304769bold a {text-decoration:none;}#yiv5822304769 dd.yiv5822304769last p a {font-family:Verdana;font-weight:700;}#yiv5822304769 dd.yiv5822304769last p span {margin-right:10px;font-family:Verdana;font-weight:700;}#yiv5822304769 dd.yiv5822304769last p span.yiv5822304769yshortcuts {margin-right:0;}#yiv5822304769 div.yiv5822304769attach-table div div a {text-decoration:none;}#yiv5822304769 div.yiv5822304769attach-table {width:400px;}#yiv5822304769 div.yiv5822304769file-title a, #yiv5822304769 div.yiv5822304769file-title a:active, #yiv5822304769 div.yiv5822304769file-title a:hover, #yiv5822304769 div.yiv5822304769file-title a:visited {text-decoration:none;}#yiv5822304769 div.yiv5822304769photo-title a, #yiv5822304769 div.yiv5822304769photo-title a:active, #yiv5822304769 div.yiv5822304769photo-title a:hover, #yiv5822304769 div.yiv5822304769photo-title a:visited {text-decoration:none;}#yiv5822304769 div#yiv5822304769ygrp-mlmsg #yiv5822304769ygrp-msg p a span.yiv5822304769yshortcuts {font-family:Verdana;font-size:10px;font-weight:normal;}#yiv5822304769 .yiv5822304769green {color:#628c2a;}#yiv5822304769 .yiv5822304769MsoNormal {margin:0 0 0 0;}#yiv5822304769 o {font-size:0;}#yiv5822304769 #yiv5822304769photos div {float:left;width:72px;}#yiv5822304769 #yiv5822304769photos div div {border:1px solid #666666;min-height:62px;overflow:hidden;width:62px;}#yiv5822304769 #yiv5822304769photos div label {color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}#yiv5822304769 #yiv5822304769reco-category {font-size:77%;}#yiv5822304769 #yiv5822304769reco-desc {font-size:77%;}#yiv5822304769 .yiv5822304769replbq {margin:4px;}#yiv5822304769 #yiv5822304769ygrp-actbar div a:first-child {margin-right:2px;padding-right:5px;}#yiv5822304769 #yiv5822304769ygrp-mlmsg {font-size:13px;font-family:Arial, helvetica, clean, sans-serif;}#yiv5822304769 #yiv5822304769ygrp-mlmsg table {font-size:inherit;font:100%;}#yiv5822304769 #yiv5822304769ygrp-mlmsg select, #yiv5822304769 input, #yiv5822304769 textarea {font:99% Arial, Helvetica, clean, sans-serif;}#yiv5822304769 #yiv5822304769ygrp-mlmsg pre, #yiv5822304769 code {font:115% monospace;}#yiv5822304769 #yiv5822304769ygrp-mlmsg * {line-height:1.22em;}#yiv5822304769 #yiv5822304769ygrp-mlmsg #yiv5822304769logo {padding-bottom:10px;}#yiv5822304769 #yiv5822304769ygrp-msg p a {font-family:Verdana;}#yiv5822304769 #yiv5822304769ygrp-msg p#yiv5822304769attach-count span {color:#1E66AE;font-weight:700;}#yiv5822304769 #yiv5822304769ygrp-reco #yiv5822304769reco-head {color:#ff7900;font-weight:700;}#yiv5822304769 #yiv5822304769ygrp-reco {margin-bottom:20px;padding:0px;}#yiv5822304769 #yiv5822304769ygrp-sponsor #yiv5822304769ov li a {font-size:130%;text-decoration:none;}#yiv5822304769 #yiv5822304769ygrp-sponsor #yiv5822304769ov li {font-size:77%;list-style-type:square;padding:6px 0;}#yiv5822304769 #yiv5822304769ygrp-sponsor #yiv5822304769ov ul {margin:0;padding:0 0 0 8px;}#yiv5822304769 #yiv5822304769ygrp-text {font-family:Georgia;}#yiv5822304769 #yiv5822304769ygrp-text p {margin:0 0 1em 0;}#yiv5822304769 #yiv5822304769ygrp-text tt {font-size:120%;}#yiv5822304769 #yiv5822304769ygrp-vital ul li:last-child {border-right:none !important;}#yiv5822304769
Davide Grandi grndvd63m06f704u@gmail.com [hercules-390]
2017-08-31 19:51:01 UTC
Permalink
If i'm not wrong, PCOMM can be automated in java with
Host Access Class Library for Java
using a reduced Host On Demand API.
(documentation on PCOMM program folder).

You should look for a feature that allow Java to open & drive a session,
present some years ago in HOD.

in '94 (gosh, twenty-three years ago) I wrote an OS/2 *cmd script that
opened 4 session, logged to all 4 and start some programs.
There was an HLLAPI interface directly from *.cmd commands.
Of course there's no time machine to reuse them ...

Best regards,

Davide Grandi
Post by ***@yahoo.com [hercules-390]
Hi,
I have a need to automate a process to access an emulator using
Java. I think I have figured out how to do that.
But I would like to know if
EHLLAPI(https://www.ibm.com/support/knowledgecenter/SSEQ5Y_5.9.0/com.ibm.pcomm.doc/books/html/emulator_programming07.htm)
can be used to connect to Hercules running on my Windows 8 PC.
I don't need to do anything complex. Just connect and scrape text. I
assume Hercules can be installed on Windows 8 for this simple test.
Thanks,
Mohan
------------------------------------------------------------------------
------------------------------------------------------------------------
Mike Schwab Mike.A.Schwab@gmail.com [hercules-390]
2017-09-01 17:41:30 UTC
Permalink
OS/2 updated for 2017. https://www.arcanoae.com/
Post by Davide Grandi ***@gmail.com [hercules-390]
If i'm not wrong, PCOMM can be automated in java with
Host Access Class Library for Java
using a reduced Host On Demand API.
(documentation on PCOMM program folder).
You should look for a feature that allow Java to open & drive a session,
present some years ago in HOD.
in '94 (gosh, twenty-three years ago) I wrote an OS/2 *cmd script that
opened 4 session, logged to all 4 and start some programs.
There was an HLLAPI interface directly from *.cmd commands.
Of course there's no time machine to reuse them ...
Best regards,
Davide Grandi
------------------------------
------------------------------
--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?
Davide Grandi grndvd63m06f704u@gmail.com [hercules-390]
2017-09-02 21:17:15 UTC
Permalink
Intriguing ! ...

Thanks,
dg
OS/2 updated for 2017. https://www.arcanoae.com/
On Thu, Aug 31, 2017 at 2:51 PM, Davide Grandi
If i'm not wrong, PCOMM can be automated in java with
Host Access Class Library for Java
using a reduced Host On Demand API.
(documentation on PCOMM program folder).
You should look for a feature that allow Java to open & drive a
session, present some years ago in HOD.
in '94 (gosh, twenty-three years ago) I wrote an OS/2 *cmd script
that opened 4 session, logged to all 4 and start some programs.
There was an HLLAPI interface directly from *.cmd commands.
Of course there's no time machine to reuse them ...
Best regards,
Davide Grandi
Post by ***@yahoo.com [hercules-390]
------------------------------------------------------------------------
------------------------------------------------------------------------
--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?
------------------------------------------------------------------------
------------------------------------------------------------------------
javatech@yahoo.com [hercules-390]
2017-09-06 10:01:55 UTC
Permalink
Hello, I didn't fully understand your replies. So I have the DLL's and know how to call them from Java.
Understand that part.


But don't know if the same DLL can access hercules. I know about HOD but a simple Java program doesn't need it.


I mean that I would like to know if hercules on Win 8 has an emulator that I can scrape. Please forgive my ignorance of hercules.


Thanks,
Mohan
Joe Monk joemonk64@gmail.com [hercules-390]
2017-09-06 11:00:27 UTC
Permalink
It all depends on the TN3270 client you are using to access whatever OS you
are running on hercules... Does it support EHLLAPI?

Joe
Post by ***@yahoo.com [hercules-390]
Hello,
I didn't fully understand your replies. So I have the
DLL's and know how to call them from Java.
Understand that part.
But don't know if the same DLL can access hercules. I know about HOD but a
simple Java program doesn't need it.
I mean that I would like to know if hercules on Win 8 has an emulator that
I can scrape. Please forgive my ignorance of hercules.
Thanks,
Mohan
javatech@yahoo.com [hercules-390]
2017-09-06 12:27:06 UTC
Permalink
Oh! So I install hercules on Windows. And I also need a TN3270 emulator to connect to hercules. Is that right ? I don't have a client like that. Can hercules and this client run on the same machine ?


Thanks,
Mohan
javatech@yahoo.com [hercules-390]
2017-09-06 12:29:36 UTC
Permalink
Is it something like this ?https://sourceforge.net/projects/x3270/

Really haven't used this toolset before.


Thanks,
Mohan
Harold Grovesteen h.grovsteen@tx.rr.com [hercules-390]
2017-09-06 14:46:07 UTC
Permalink
Post by ***@yahoo.com [hercules-390]
Is it something like this ?https://sourceforge.net/projects/x3270/
Yes.  That is one option for a TN3270 client.  But, for your needs it
must also support EHLLAPI.
Post by ***@yahoo.com [hercules-390]
Really haven't used this toolset before.
Thanks,
Mohan
 
Harold Grovesteen
Gerhard Postpischil gerhardp@charter.net [hercules-390]
2017-09-06 13:57:38 UTC
Permalink
Oh! So I install hercules on Windows. And I also need  a TN3270 emulator
to connect to hercules. Is that right ?
I don't have a client like that. Can hercules and this client run on the
same machine ?
While x3270, etc. may do the trick for you, I prefer Tom Brennan's Vista
(it's available for a free trial, and a one time charge of $30 to keep).
If you need graphics, partitions, or other advanced goodies, I suggest
Blue Zone.

In my house I have a server that runs Hercules, four 3270 sessions
(console, TSO, test screens), and have another six screens downstairs,
for development. So you can run from different computers on the same
Windows network without any problem. It is also possible to connect ovre
the internet, but that requires advanced setup and I've never tried it.

Gerhard Postpischil
Bradford, VT

---
This email has been checked for viruses by AVG.
http://www.avg.com
Harold Grovesteen h.grovsteen@tx.rr.com [hercules-390]
2017-09-06 14:43:07 UTC
Permalink
Oh! So I install hercules on Windows. And I also need  a TN3270
emulator to connect to hercules. Is that right ?
I don't have a client like that. Can hercules and this client run on
the same machine ?
Yes.
Thanks,
Mohan
 
Harold Grovesteen
knigge.michael@yahoo.com [hercules-390]
2017-09-07 05:58:45 UTC
Permalink
This post might be inappropriate. Click to display it.
javatech@yahoo.com [hercules-390]
2017-09-09 13:35:25 UTC
Permalink
Thanks for the github links. I will try and report back in a new thread if needed.

Mohan

Loading...