Discussion:
[hercules-390] Lookig for pre-made config file
xucaen@yahoo.com [hercules-390]
2018-01-13 02:04:41 UTC
Permalink
I just installed Hercules and I am reading the documentation. I found the Hercules Version 3: Configuration File but it says that the config file "...should not be considered a good example of what an actual configuration file looks like". The comments in the sample config also say "Note: not all parameters are shown". So I'm not sure what to do at this point.


Here's a bit of background on me. I was a COBOL programmer back in the 90s. Around 2001 I made the transition to visual c++ and then to c#. Thinking back to that time when I worked on the mainframe, I recall working on MVS using ISPF, SDSF and TSO, the source code editor and debugger. I used to write JCL and could run SQL embedded within COBOL programs. On our testing environment I recall creating datasets and VSAM tables. I miss the old days and wanted to get back up to speed on all the tools I used to use.


The problem for me is that I don;t really remember too much about the mainframe environment so I'm not really sure what options to choose. I thought maybe someone here might already have a config file they could share that do the things I wanted to do.


So, I will start digging in to the docs and start piecing together a config file, but I di appreciate any help which can be offered.


Thank you.
kerravon86@yahoo.com.au [hercules-390]
2018-01-13 02:23:36 UTC
Permalink
You are after MVS.

You have two choices:

1. Bootleg z/OS that has more features than you
remember from 2000, and 64-bit which you didn't
have either.

2. The free TK4- system, available here:
http://wotho.ethz.ch/tk4-/
But while you used to have 31-bit addressing,
this one only has 24-bit addressing.


But all is not lost. If you go to the hercules-os380
files area, you will find a freshly-uploaded
mvs380-beta3.zip which consists of 2 extremely
small modules to be added to any TK4-, plus
you need the beta Hercules/380, and hey
presto, you get 31-bit addressing just like the
gods intended, and can run memory-hungry
31-bit applications like GCC.

If you aren't up and running with TK4- in 10
minutes, stop and tell us what happened.

Some of the features you mentioned below
are only available with bootleg z/OS, and you
won't get very much support from these
forums. But what you need to find somewhere
is something called "ADCD". Don't bother
asking me for it, I've never even bothered to
type that into a search engine. All my life
revolves around MVS/380. See the hercules-os380
forum for the latest technical breakthrough - AM32
as opposed to AM24/AM31/AM64.

BFN. Paul.





---In hercules-***@yahoogroups.com, <***@...> wrote :

I just installed Hercules and I am reading the documentation. I found the Hercules Version 3: Configuration File but it says that the config file "...should not be considered a good example of what an actual configuration file looks like". The comments in the sample config also say "Note: not all parameters are shown". So I'm not sure what to do at this point.


Here's a bit of background on me. I was a COBOL programmer back in the 90s. Around 2001 I made the transition to visual c++ and then to c#. Thinking back to that time when I worked on the mainframe, I recall working on MVS using ISPF, SDSF and TSO, the source code editor and debugger. I used to write JCL and could run SQL embedded within COBOL programs. On our testing environment I recall creating datasets and VSAM tables. I miss the old days and wanted to get back up to speed on all the tools I used to use.


The problem for me is that I don;t really remember too much about the mainframe environment so I'm not really sure what options to choose. I thought maybe someone here might already have a config file they could share that do the things I wanted to do.


So, I will start digging in to the docs and start piecing together a config file, but I di appreciate any help which can be offered.


Thank you.
kerravon86@yahoo.com.au [hercules-390]
2018-01-13 02:29:21 UTC
Permalink
Post by ***@yahoo.com.au [hercules-390]
But all is not lost. If you go to the hercules-os380
files area, you will find a freshly-uploaded
mvs380-beta3.zip
https://groups.yahoo.com/neo/groups/hercules-os380/files/mvs380-beta3.zip

It's only about 24 hours old.

BFN. Paul.
xucaen@yahoo.com [hercules-390]
2018-01-13 03:46:07 UTC
Permalink
Thanks, guys!

I downloaded the TK4- system, and I have it running now.. looks like it is bundled with Hercules 4.0.. anyways, I installed wc3270 and I am trying to connect on port 3270 but I get a "connection failed". I'm running on Windows 10. I checked the firewall but don't see anything being blocked. I even turned on the windows 10 firewall for domain, private and public networks but still no connection. I checked the TK4- log and it shows it is listening on port 3270.


I'll put this away for the night and try again tomorrow with rested eyes. :)


This is fun. ;)
Mike Stramba mikestramba@gmail.com [hercules-390]
2018-01-13 10:03:06 UTC
Permalink
Post by ***@yahoo.com [hercules-390]
Thanks, guys!
I downloaded the TK4- system, and I have it running now.. looks like it is
bundled with Hercules 4.0.. anyways, I installed wc3270 and I am trying to
connect on port 3270 but I get a "connection failed". I'm running on Windows
10. I checked the firewall but don't see anything being blocked. I even
turned on the windows 10 firewall for domain, private and public networks
but still no connection. I checked the TK4- log and it shows it is listening
on port 3270.
For wc3270 try :
--- w.bat --
start wc3270.exe -keymap 3270 -title "MVS Tk4" Model4.wc3270

file ---- model4.wc3270
wc3270.hostname: localhost:3270
wc3270.model: 4
wc3270.charset: bracket
wc3270.hostColorForDefault: 14
wc3270.hostColorForIntensified: 15
wc3270.hostColorForProtected: 4
wc3270.hostColorForProtectedIntensified: 15
----------------------

While wc3270 works, here are a couple of very low cost, much more
"polished" emulators.
3270 emulators
http://www.nexit.com/index.html -HLLAPI support - $60

Tom Brenna Vista $30
https://www.tombrennansoftware.com/

Both of the above emulators are very polished, Nexit has HLLAPI
scripting support, being
the main difference. They both have 30 day trials.



MVS Resources
---------------------
--manuals--
http://bitsavers.org/pdf/ibm/370/MVS/
http://bitsavers.org/pdf/ibm/370/OS_VS2/Release_3.8_1978/

** even some of the current IBM mvs manuals are still relevant to MVS
3.8 (TK4) **

TONS of MVS software here !
http://www.cbttape.org/cbtdowns.htm


370 PrinOps
http://bitsavers.org/pdf/ibm/370/princOps/GA22-7000-10_370_Principles_of_Operation_Sep87.pdf


--- Other OS's for Hercules --
VMr6 :
http://www.smrcc.org.uk/members/g4ugm/VM370.htm

Multics
http://multicians.org/sim-inst-windows.html
http://ringzero.wikidot.com/r1-0-load-and-go

MTS
https://try-mts.com/why-try-mts/
https://sites.google.com/site/michiganterminalsystem/mts-d60A


Dos360 - Very nice tutorial on Sysgen dos360
https://sites.google.com/site/dos360install/start

DosVs
https://groups.yahoo.com/group/H390-DOSVS

Mike
somitcw@yahoo.com [hercules-390]
2018-01-13 15:32:51 UTC
Permalink
- - - In hercules-***@yahoogroups.com, <***@...> wrote:
- - - top snipped - - -
wc3270.hostname: localhost:3270
- - - bottom snipped - - -

Does your C:\Windows\System32\drivers\etc\hosts
file have localhost listed as:
127.0.0.1 localhost
or
::1 localhost
or
127.0.0.1 localhost
::1 localhost
or
::1 localhost
127.0.0.1 localhost
or
neither?

Unless Hercules likes IPV6 addresses for CRTs,
it is safer to specify:
wc3270.hostname: 127.0.0.1:3270
xucaen@yahoo.com [hercules-390]
2018-01-13 15:47:53 UTC
Permalink
That was it. Using 127.0.0.1 worked.

...and within the first 3 minutes I managed to get one of the users locked. lol
Looking through documentation to kick the user so I can log in again. Man it's been years since I've done this kind of work, but it used to be second nature to me. :)
Gerhard Postpischil gerhardp@charter.net [hercules-390]
2018-01-13 16:08:31 UTC
Permalink
Post by ***@yahoo.com [hercules-390]
That was it. Using 127.0.0.1 worked.
...and within the first 3 minutes I managed to get one of the users locked. lol
Looking through documentation to kick the user so I can log in again.
Man it's been years since I've done this kind of work, but it used to be
second nature to me. :)
TSO users may be removed with an OS command Cancel U=userid


Gerhard Postpischil
Bradford, VT

---
This email has been checked for viruses by AVG.
http://www.avg.com
Mike Stramba mikestramba@gmail.com [hercules-390]
2018-01-13 22:10:33 UTC
Permalink
Post by ***@yahoo.com [hercules-390]
That was it. Using 127.0.0.1 worked.
...and within the first 3 minutes I managed to get one of the users locked. lol
Looking through documentation to kick the user so I can log in again. Man
it's been years since I've done this kind of work, but it used to be second
nature to me. :)
I suggest you run the "disable daemon" and "enable console" procedures
so that you have a "real" console running on a 3270.

Then you can issue commands like the suggested "c u=herc01".

If in fact you *have* locked the user (and not just your 3270
terminal .. the latter would recover with a "reset" key (wherever
your emulator has mapped that).

Mike

xucaen@yahoo.com [hercules-390]
2018-01-13 16:22:52 UTC
Permalink
To answer your question directly, I just looked in the hosts file, and the lines are commented out:



# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
somitcw@yahoo.com [hercules-390]
2018-01-13 16:31:12 UTC
Permalink
Post by ***@yahoo.com [hercules-390]
To answer your question directly, I just looked in the hosts file,
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
Uncommenting the first may be wise.

MVS questions like entering:
/c u=herc01
or
c u=herc01
or
finding the reason for the lock-up would be better asked on
an MVS group like:
https://groups.yahoo.com/neo/groups/H390-MVS/info
'Dave Wade' dave.g4ugm@gmail.com [hercules-390]
2018-01-13 16:59:45 UTC
Permalink
Windows 10 defaults to using IPV6 addresses for local host. Wc3270 does not have an option to force ipv4. I think if you don’t specify an address it defaults to 127.0.0.1.



Dave







From: hercules-***@yahoogroups.com [mailto:hercules-***@yahoogroups.com]
Sent: 13 January 2018 16:23
To: hercules-***@yahoogroups.com
Subject: [hercules-390] Re: Lookig for pre-made config file





To answer your question directly, I just looked in the hosts file, and the lines are commented out:





# localhost name resolution is handled within DNS itself.

# 127.0.0.1 localhost

# ::1 localhost
somitcw@yahoo.com [hercules-390]
2018-01-13 17:09:58 UTC
Permalink
Post by 'Dave Wade' ***@gmail.com [hercules-390]
Windows 10 defaults to using IPV6 addresses for local host.
Wc3270 does not have an option to force ipv4. I think if you don’t
specify an address it defaults to 127.0.0.1.
Dave
- - - old notes snipped - - -

Windows changed many years ago.

C:\>ping localhost
Pinging MyPC [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Ping statistics for ::1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\>
somitcw@yahoo.com [hercules-390]
2018-01-13 17:24:25 UTC
Permalink
I've been noting the localhost issue for years before Windows 10.

Recent ( Jul 27, 2012 ) but years before Windows 10 example at the bottom of:

https://groups.yahoo.com/neo/groups/hercules-390/conversations/messages/68620
Loading...