It may be easier to use https://github.com/py3270/py3270
> On 29 Jun 2023, at 10:56 pm, Farley, Peter > <[email protected]> wrote: > > Hi All, > > I have sent this question to the ooRexx help list but have not yet seen an > answer. Hoping someone here has been down this path and can help cure my > ignorance. > > I have an automation task before me that needs some complex 3270 screen > interactions, so I was hoping to use ooRexx from the company laptop (Windows > 10) using the EHLLAPI interface to PCOMM. > > I started with a simple logon script to learn the connection/setup > requirements, and after (I thought) successfully executing rxfuncadd for the > EHLLAPI interface, the first actual call to EHLLAPI (for the Connect > function) gets oorexx error 43.1, cannot find routine EHLLAPI, indicating to > me that the rxfuncadd did not really work. > > Then it occurred to me to ask how does rxfuncadd know where to find the > EHLLAPI DLL? Is there some environment variable that needs to be set > pointing to the PCOMM directory where the DLL is stored? > > There is some old Rexx EHLLAPI interface material in the PCOMM V6 > documentation available on the web, but I now have PCOMM V14 on my machine > and it seems that the Rexx examples have disappeared from the V14 > documentation (at least I didn't find any). > > I am a little "lost at sea" here, so I would appreciate any help or RTFM you > can provide. Or better yet a publicly available set of example scripts for > EHLLAPI interactions with PCOMM. > > Peter > > This message and any attachments are intended only for the use of the > addressee and may contain information that is privileged and confidential. If > the reader of the message is not the intended recipient or an authorized > representative of the intended recipient, you are hereby notified that any > dissemination of this communication is strictly prohibited. If you have > received this communication in error, please notify us immediately by e-mail > and delete the message and any attachments from your system. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
