I would like to get working with IBM System/360 on the Hercules emulator.
I use a mac. With macports I have installed Hercules and c3270. Through this site: Running the IBM OS/360 MVT operating system on Hercules ,I followed the instructions and have downloaded the Hercules-ready MVT 21.8 images.
Than I did the following instructed in the 00README.txt
file:
Startup:
--------
1. From the asp directory, start Hercules:
hercules -f conf/asp.conf
2. Using a 3270 emulator, start a telnet session to port 3270 for
device 010. This is the OS master console. It must be defined
and connected at IPL, or the IPL will hang.
The first instruction gives me no trouble.
Concerning the second instruction, I found at this site the workings of the 3270 terminal: Telnet/tn3270 Console How-To for Hercules Version 4 ,
Start an x3270 session and connect to Hercules with the following
Linux:x3270 -port nnnn -model 32xx-x hostname
I assume this works the same for the console version c3270 I installed, thus:
c3270 -port nnnn -model 32xx-x hostname
-port nnnn I replaced with -port 3270
-model 32xx-x with 3279-2 (this seems not so important ?, just about terminal screen size)
hostname with 010 (since in the second instruction in the 00README.txt
file it says device 010
.)
Thus the whole command is: $ c3270 -port 3270 -model 3279-2 010
This gives an error:
OSX@1:~ $ c3270 -port 3270 -model 3279-2 010
c3270 v3.3.15ga9 Sat Sep 2 12:15:29 UTC 2017
Copyright 1989-2014 by Paul Mattes, GTRC and others.
Type 'show copyright' for full copyright information.
Type 'help' for help information.
Trying 0.0.0.8, port 3270...
Connect to 010, port 3270: No route to host
[Press <Enter>]
OSX@2:~ $
What is going wrong here ?
And what is the meaning of ?:
This is the OS master console. It must be defined
and connected at IPL, or the IPL will hang.
Edit 1. (2 feb. 2018 / 21:29)
In respect to @wizzwizz4, I tried 017700000001
instead of 010
, as device number, with the following result:
$ c3270 -port 3270 -model 3279-2 017700000001
...
Trying 127.0.0.1, port 3270...
Connect to 017700000001, port 3270: Connection refused
Edit 2. (3 feb. 2018 / 12:10) Solved for another setting
I tried a different setting.
On mac os x I have installed Vagrant ,and a vagrantbox for linux 14.04lts. I downloaded from The MVS 3.8j Tur(n)key 4- System the zip-file tk4-_v1.00_current.zip. And I installed with sudo apt install c3270
the telnet terminal emulator in the linux vagrantbox.
In the linux vagrantbox I extracted the zipfile to the folder tk4
.
Then I did:
vagrant@ubuntu:~$ cd tk4
vagrant@ubuntu:~/tk4$ ./mvs
Which starts up MVS.
Then in another tab of the same terminal
vagrant@ubuntu:~$ c3270 localhost:3270
That gives the login screen.
Then I could fill in username and password. Obviously this is not solving how to use any version of IBM System/360 etc. directly on mac os x. The TK4 version didn't seem to work on os x and is probably preconfigured for Linux and not os x. However I am glad it does work the other way.
I found this video Mainframe operating system MVS 3.8 turnkey TK4 how to install and operate helpfull. As well as MVS_TK4-_v1.00_Users_Manual.pdf, with information on username (for instance "HERC01") and password (for instance "CUL8TR"(belonging to HERC01)).
c3270 localhost:3270
again without changes), and they will connect to the other console devices after010
). In the same way, you can dotelnet localhost 3270
for a telnet connection. Normally you want at least two terminals, one for the console and one for a user login, but IIRC the MVS turnkey TK4 system moves the console terminal into hercules with the default settings.