Our Team has used OpenRexx with the PCOMM HLLAPI for years for this sort of thing.
E,g. hrc = HLLAPI('Sendkey',ARG(1) ) To send a command to the current 3270 window. Cheers Hank -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Richard Zierdt Sent: 04 November 2017 08:35 To: IBM-MAIN@LISTSERV.UA.EDU Subject: PCOMM macro/script - Copy Screens, Copy Append Using PCOMM Ver 6.0. The goal is to copy several CICS screens as a script (or macro) runs. 24x80 green-screen stuff. First step is to create or record the macro or script. The problem is that PCOMM's Edit-Copy and Edit-Append are not supported under PCOMM's Start Recording, either as a macro or VBScript. Start Recording will record keystrokes, but not Edit-Copy, etc. [Edit-Copy (and Append) copies the text of a screen to the Windows clipboard.] The VBScript can be edited. Are there VBScript statements that will copy screens (text) as they are presented? I'm studying VBScript syntax now (WshShell - SendKeys might work), but if the wheel's already been invented . . . Any help appreciated. Thanks - Richard Zierdt ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ::DISCLAIMER:: ---------------------------------------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ---------------------------------------------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN