¿ªÔÆÌåÓý

Is the following automation possible?


 

Hello,

?I'm not understanding how to use the EE editor as a XEDIT replacement.? Are there good instructions on doing this and what is not woriing?

Given EE is not yet working like XEdit.? I'm wondering; is it possible to automate VM/CMS file editting a file by using KEdit on Windows, instead.

Given KEdit for Windows is very much like XEdit, my thought is to use KEdit to edit the file.? This process would need to transfer the file froom VM/CE to Windows, start KEdit, and transfer the editted file back to VM/CE.

As I understand a virtual machine can have VM/CP issue a Hercules command(s). (DIAG X'08').

Question: Can Hercules run an ooREXX program on Windows to transder the file from VM to Window and start KEdit?? Once editing completes the ooREXX program would return the file back to VM/CE from Windows.

Steps would be:

1) Start prgram on CMS to have Hercules start an ooREXX program to:
?1A) Move? a file from CMS tto Windiow.
?1B) Start KEdit in Windows.
?1C) Oncce KEdit is done, move the file from Windows to CMS.
2) CMS program ends with RC depending up final result.

Thank you.





 

¿ªÔÆÌåÓý

Hi Bertram,

the documents are at?
I understood that Bob Bolch is working on ironing out some of the difference, and mostly to enable Rexx scripting of the editor.

I started out by having x as an alias for the ee editor. I think it is the best we have at the moment. the only thing I really miss is the si line command.
But then, I was never a heavy Xedit user, as ISPF/PDF was my daily driver.

What you sketch is how the mecaff tools started out, with a Java program to do the editing. I saw the integration as a big step forward.
I do not know anything about Kedit or Windows. A number of people, me included, do not use Windows at all.

If I do any offline editing, it is most of the time whole directories (like the brexx test suite last year) and I edit those files in emacs and upload a vmarc.

best regards,

¸é±ð²Ô¨¦.

On 8 Mar 2023, at 09:22, Bertram Moshier <herc370390vm@...> wrote:

Hello,

?I'm not understanding how to use the EE editor as a XEDIT replacement.? Are there good instructions on doing this and what is not woriing?

Given EE is not yet working like XEdit.? I'm wondering; is it possible to automate VM/CMS file editting a file by using KEdit on Windows, instead.

Given KEdit for Windows is very much like XEdit, my thought is to use KEdit to edit the file.? This process would need to transfer the file froom VM/CE to Windows, start KEdit, and transfer the editted file back to VM/CE.

As I understand a virtual machine can have VM/CP issue a Hercules command(s). (DIAG X'08').

Question: Can Hercules run an ooREXX program on Windows to transder the file from VM to Window and start KEdit?? Once editing completes the ooREXX program would return the file back to VM/CE from Windows.

Steps would be:

1) Start prgram on CMS to have Hercules start an ooREXX program to:
?1A) Move? a file from CMS tto Windiow.
?1B) Start KEdit in Windows.
?1C) Oncce KEdit is done, move the file from Windows to CMS.
2) CMS program ends with RC depending up final result.

Thank you.






 

¿ªÔÆÌåÓý

Bertram,

Its pretty usable. Easiest way to see what does and does not work is to open EE (you need a file name & type) ?type HELP.

Use PF2 to see the individual files.

Dave

?

From: [email protected] <[email protected]> On Behalf Of Bertram Moshier
Sent: Wednesday, March 8, 2023 8:23 AM
To: [email protected]
Subject: [h390-vm] Is the following automation possible?

?

Hello,

?

?I'm not understanding how to use the EE editor as a XEDIT replacement.? Are there good instructions on doing this and what is not woriing?

?

Given EE is not yet working like XEdit.? I'm wondering; is it possible to automate VM/CMS file editting a file by using KEdit on Windows, instead.

?

Given KEdit for Windows is very much like XEdit, my thought is to use KEdit to edit the file.? This process would need to transfer the file froom VM/CE to Windows, start KEdit, and transfer the editted file back to VM/CE.

?

As I understand a virtual machine can have VM/CP issue a Hercules command(s). (DIAG X'08').

?

Question: Can Hercules run an ooREXX program on Windows to transder the file from VM to Window and start KEdit?? Once editing completes the ooREXX program would return the file back to VM/CE from Windows.

?

Steps would be:

?

1) Start prgram on CMS to have Hercules start an ooREXX program to:

?1A) Move? a file from CMS tto Windiow.

?1B) Start KEdit in Windows.

?1C) Oncce KEdit is done, move the file from Windows to CMS.

2) CMS program ends with RC depending up final result.

?

Thank you.

?

?

?

?


 

On Wed, Mar 8, 2023 at 12:23 AM, Bertram Moshier wrote:
I'm wondering; is it possible to automate VM/CMS file editing a file by using KEdit on Windows, instead.
In 2008, Robert O'Hara wrote a small Windows program to achieve that purpose. It is called VMconsole.exe. It is essentially a modified telnet client.

You connect to VM/370 using it with a command like this:

vmconsole.exe 127.0.0.1 3270

It will started a 3215 connection to VM/370. You logon to your virtual with it and you edit a file with the command:

redit fn ft [ fm | A ]

This will transfer the CMS file to Windows and open the Windows local copy with Notepad. After you save the local copy and quit Notepad, it will be sent back to CMS to replace the current file.

I just tried it, replacing Notepad with KEdit, and it seems to work.

If you want to try it on your side, download the ZIP archive VMconsole.zip from the Files section of this group.

The ZIP contains vmconsole.exe, vmconsole.cfg (in which you may change notepad par kedit), and two EXECs (REDIT and WINMSG) that you need to transfer to your VM/370 virtual machine, either via the card reader or the tape vmconsole.aws.

Cheers,

Rene FERLAND, Montreal

P.S. -- This program was written before EE was made available.


 

Hello Rene,

Thank you for your message and information.? Question:? On REDIT and WINMMG can I upload them via the built in wc3280 and CMS method?? Are they binary or ASCII or ?????

BTW, How do you transfer files via the RDR?? I've not seen a discussion on this method.

Again Thank You.


On Wed, Mar 8, 2023, 22:02 Ren¨¦ Ferland <ferland.rene@...> wrote:
On Wed, Mar 8, 2023 at 12:23 AM, Bertram Moshier wrote:
I'm wondering; is it possible to automate VM/CMS file editing a file by using KEdit on Windows, instead.
In 2008, Robert O'Hara wrote a small Windows program to achieve that purpose. It is called VMconsole.exe. It is essentially a modified telnet client.

You connect to VM/370 using it with a command like this:

vmconsole.exe 127.0.0.1 3270

It will started a 3215 connection to VM/370. You logon to your virtual with it and you edit a file with the command:

redit fn ft [ fm | A ]

This will transfer the CMS file to Windows and open the Windows local copy with Notepad. After you save the local copy and quit Notepad, it will be sent back to CMS to replace the current file.

I just tried it, replacing Notepad with KEdit, and it seems to work.

If you want to try it on your side, download the ZIP archive VMconsole.zip from the Files section of this group.

The ZIP contains vmconsole.exe, vmconsole.cfg (in which you may change notepad par kedit), and two EXECs (REDIT and WINMSG) that you need to transfer to your VM/370 virtual machine, either via the card reader or the tape vmconsole.aws.

Cheers,

Rene FERLAND, Montreal

P.S. -- This program was written before EE was made available.


 

>> On REDIT and WINMMG can I upload them via the built in wc3280 and CMS method?
?
Do you mean with IND$FILE? If so, the answer is yes.


>> Are they binary or ASCII or ?????
?
ASCII.
?

>> How do you transfer files via the RDR?
?
You may watch this video: ?
(sorry if it is a little long)
?
Cheers,
?
Rene FERLAND, Montreal
?