Discussion:
[hercules-390] Configuring z/os and hercules networking.
mfny81@yahoo.com [hercules-390]
2018-08-04 20:49:06 UTC
Permalink
Hello all,


So far I have my z/os and herc setup working well, aside from one thing and that is networking.


I am using HercGUI, Hyperion and CTCI-WIN.


I can successfully set up the Host side of things... I think, however when following instructions I can not seem to set up the z/OS side of things, or at least that's how it seems.


The end result is trying to telnet into the Herc/zOS system does not work.


Anyone able to offer any advice,hints,tips as to setting this up ?
René Ferland ferland.rene@yahoo.com [hercules-390]
2018-08-04 21:03:52 UTC
Permalink
Post by ***@yahoo.com [hercules-390]
Anyone able to offer any advice,hints,tips as to setting this up ?
Download this:
https://www.redbooks.ibm.com/redbooks/pdfs/sg246204.pdf

and read section 22 of chapter 6. It might help.
Best regards,
Rene FERLAND, Montreal
Mike Schwab Mike.A.Schwab@gmail.com [hercules-390]
2018-08-04 22:31:02 UTC
Permalink
Three common things to check. Route commands in your host. And the cable
to your lan. WIFI usually doesn't permit promiscous mode (which allows
multple operating systems) And the order of adapters. Hercules always
uses the first adapter. If it is disabled it won't work.
Post by ***@yahoo.com [hercules-390]
Hello all,
So far I have my z/os and herc setup working well, aside from one thing
and that is networking.
I am using HercGUI, Hyperion and CTCI-WIN.
I can successfully set up the Host side of things... I think, however when
following instructions I can not seem to set up the z/OS side of things, or
at least that's how it seems.
The end result is trying to telnet into the Herc/zOS system does not work..
Anyone able to offer any advice,hints,tips as to setting this up ?
--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?
mfny81@yahoo.com [hercules-390]
2018-08-05 14:17:44 UTC
Permalink
I still cant get TCPIP running..


This is my config line for Hercules:


0E20.2 CTCI 192.168.0.210 192.168.178.40



This is my PROFILE for TCPIP:


000090 DEVICE CTCA1 CTC e20
000091 LINK CTC1 CTC 1 CTCA1
000092
000093 HOME
000094 192.168.0.210 CTC1
000095
000096 GATEWAY
000097 192.168.0.1 = CTC1 1492 HOST
000098
000099 DEFAULTNET 192.168.178.40 CTC1 1492 0


This is my log when starting TCPIP:


15:04:03.154 00003540 HHC00160I SCP command: START TCPIP
15:04:03.344 00003540 $HASP373 TCPIP STARTED
15:04:04.456 00003540 EZZ7450I FFST SUBSYSTEM IS NOT INSTALLED
15:04:08.065 00003540 EZZ0162I HOST NAME FOR TCPIP IS ADCD
15:04:08.131 00003540 EZZ0300I OPENED PROFILE FILE DD:PROFILE
15:04:08.138 00003540 EZZ0309I PROFILE PROCESSING BEGINNING FOR DD:PROFILE
15:04:08.340 00003540 EZZ0655I PORT 8879 TCP BBODMGR IS ALREADY RESERVED
15:04:08.346 00003540 EZZ0655I PORT 7277 TCP BBODMGR IS ALREADY RESERVED
15:04:08.352 00003540 EZZ0655I PORT 9809 TCP BBODMGR IS ALREADY RESERVED
15:04:08.360 00003540 EZZ0655I PORT 9090 TCP BBODMGR IS ALREADY RESERVED
15:04:08.368 00003540 EZZ0655I PORT 9043 TCP BBODMGR IS ALREADY RESERVED
15:04:08.374 00003540 EZZ0655I PORT 5755 TCP BBODMNC IS ALREADY RESERVED
15:04:08.380 00003540 EZZ0655I PORT 5756 TCP BBODMNC IS ALREADY RESERVED
15:04:08.394 00003540 EZZ0316I PROFILE PROCESSING COMPLETE FOR FILE DD:PROFILE
15:04:08.404 00003540 EZZ0334I IP FORWARDING IS DISABLED
15:04:08.412 00003540 EZZ0338I TCP PORTS 1 THRU 1023 ARE RESERVED
15:04:08.419 00003540 EZZ0338I UDP PORTS 1 THRU 1023 ARE RESERVED
15:04:08.429 00003540 EZZ4202I Z/OS UNIX - TCP/IP CONNECTION ESTABLISHED FOR TCPIP
15:04:08.463 00003540 HHC00909E 0:0E21 CTC: invalid write buffer segment length 0 at offset 0002
15:04:08.463 00003540 HHC01315I 0:0E21 CHAN: ccw 0124001F 44D90500=>3D8CC000 3D8CC800 3B8AC000 3B8AC800 ..{...H...{...H.
15:04:08.463 00003540 HHC01302I 0:0E21 CHAN: idaw 3D8CC000, len 01F: =>001D0000 07000000 00000000 50000000 ............&...
15:04:08.463 00003540 HHC01312I 0:0E21 CHAN: stat 0E00, count 0000
15:04:08.463 00003540 HHC01313I 0:0E21 CHAN: sense 08000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
15:04:08.463 00003540 HHC01314I 0:0E21 CHAN: sense DATCK
15:04:08.472 00003540 HHC01315I 0:0E21 CHAN: ccw 0124001F 44D90500=>3D8CC000 3D8CC800 3B8AC000 3B8AC800 ..{...H...{...H.
15:04:08.472 00003540 HHC01303I 0:0E21 CHAN: idaw 0000000000000000, len 0000:
15:04:08.472 00003540 HHC01312I 0:0E21 CHAN: stat 0C20, count 001F
15:04:08.489 00003540 IOS000I 0E21,0E,CPC,2E,0C20,,,,VTAM
15:04:08.540 00003540 EZB6473I TCP/IP STACK FUNCTIONS INITIALIZATION COMPLETE.
15:04:08.544 00003540 EZAIN11I ALL TCPIP SERVICES FOR PROC TCPIP ARE AVAILABLE.
15:04:10.420 00003540 EZD1176I TCPIP HAS SUCCESSFULLY JOINED THE TCP/IP SYSPLEX GROUP EZBTCPCS
15:04:18.800 00003540 $HASP373 FTPD STARTED
15:04:18.806 00003540 $HASP373 PORTMAP STARTED
15:04:20.088 00003540 +EZA4252I portmap: started
15:04:21.142 00003540 +EZY2702I Server-FTP: Initialization completed at 14:04:21 on 08/05/18.
15:04:24.446 00003540 EZZ6003I TELNET LISTENING ON PORT 23
bote@larjem.com [hercules-390]
2018-08-05 14:54:05 UTC
Permalink
This is what I've got in my IP profile. Maybe it'll help you.
Don't have a DEFAULTNET specified.



DEVICE LCS1 LCS E20 AUTORESTART
LINK ETH1 ETHERNET 0 LCS1
HOME
192.168.1.110 ETH1
PRIMARYINTERFACE ETH1

BEGINRoutes

ROUTE 192.168.1.0 255.255.255.0 = ETH1 MTU 1500
ROUTE DEFAULT 192.168.1.254 ETH1 MTU 1500
ENDRoutes

START LCS1





And in hercules configuration file I have:
# CTC Adapters
0E20 LCS -n 192.168.1.100 192.168.1.110

0E21 LCS -n 192.168.1.100 192.168.1.110







192.168.1.100 is my PC's IP address.
192.168.1.110 is the Hercules guest IP address.


If I go into the TTTest tool, my network adapter has: PromiscuousMode? = Yes


Hope that helps.




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

I still cant get TCPIP running..


This is my config line for Hercules:


0E20.2 CTCI 192.168.0.210 192.168.178.40



This is my PROFILE for TCPIP:


000090 DEVICE CTCA1 CTC e20
000091 LINK CTC1 CTC 1 CTCA1
000092
000093 HOME
000094 192.168.0.210 CTC1
000095
000096 GATEWAY
000097 192.168.0.1 = CTC1 1492 HOST
000098
000099 DEFAULTNET 192.168.178.40 CTC1 1492 0


This is my log when starting TCPIP:


15:04:03.154 00003540 HHC00160I SCP command: START TCPIP
15:04:03.344 00003540 $HASP373 TCPIP STARTED
15:04:04.456 00003540 EZZ7450I FFST SUBSYSTEM IS NOT INSTALLED
15:04:08.065 00003540 EZZ0162I HOST NAME FOR TCPIP IS ADCD
15:04:08.131 00003540 EZZ0300I OPENED PROFILE FILE DD:PROFILE
15:04:08.138 00003540 EZZ0309I PROFILE PROCESSING BEGINNING FOR DD:PROFILE
15:04:08.340 00003540 EZZ0655I PORT 8879 TCP BBODMGR IS ALREADY RESERVED
15:04:08.346 00003540 EZZ0655I PORT 7277 TCP BBODMGR IS ALREADY RESERVED
15:04:08.352 00003540 EZZ0655I PORT 9809 TCP BBODMGR IS ALREADY RESERVED
15:04:08.360 00003540 EZZ0655I PORT 9090 TCP BBODMGR IS ALREADY RESERVED
15:04:08.368 00003540 EZZ0655I PORT 9043 TCP BBODMGR IS ALREADY RESERVED
15:04:08.374 00003540 EZZ0655I PORT 5755 TCP BBODMNC IS ALREADY RESERVED
15:04:08.380 00003540 EZZ0655I PORT 5756 TCP BBODMNC IS ALREADY RESERVED
15:04:08.394 00003540 EZZ0316I PROFILE PROCESSING COMPLETE FOR FILE DD:PROFILE
15:04:08.404 00003540 EZZ0334I IP FORWARDING IS DISABLED
15:04:08.412 00003540 EZZ0338I TCP PORTS 1 THRU 1023 ARE RESERVED
15:04:08.419 00003540 EZZ0338I UDP PORTS 1 THRU 1023 ARE RESERVED
15:04:08.429 00003540 EZZ4202I Z/OS UNIX - TCP/IP CONNECTION ESTABLISHED FOR TCPIP
15:04:08.463 00003540 HHC00909E 0:0E21 CTC: invalid write buffer segment length 0 at offset 0002
15:04:08.463 00003540 HHC01315I 0:0E21 CHAN: ccw 0124001F 44D90500=>3D8CC000 3D8CC800 3B8AC000 3B8AC800 ..{...H...{...H.
15:04:08.463 00003540 HHC01302I 0:0E21 CHAN: idaw 3D8CC000, len 01F: =>001D0000 07000000 00000000 50000000 ............&...
15:04:08.463 00003540 HHC01312I 0:0E21 CHAN: stat 0E00, count 0000
15:04:08.463 00003540 HHC01313I 0:0E21 CHAN: sense 08000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
15:04:08.463 00003540 HHC01314I 0:0E21 CHAN: sense DATCK
15:04:08.472 00003540 HHC01315I 0:0E21 CHAN: ccw 0124001F 44D90500=>3D8CC000 3D8CC800 3B8AC000 3B8AC800 ..{...H...{...H.
15:04:08.472 00003540 HHC01303I 0:0E21 CHAN: idaw 0000000000000000, len 0000:
15:04:08.472 00003540 HHC01312I 0:0E21 CHAN: stat 0C20, count 001F
15:04:08.489 00003540 IOS000I 0E21,0E,CPC,2E,0C20,,,,VTAM
15:04:08.540 00003540 EZB6473I TCP/IP STACK FUNCTIONS INITIALIZATION COMPLETE.
15:04:08.544 00003540 EZAIN11I ALL TCPIP SERVICES FOR PROC TCPIP ARE AVAILABLE.
15:04:10.420 00003540 EZD1176I TCPIP HAS SUCCESSFULLY JOINED THE TCP/IP SYSPLEX GROUP EZBTCPCS
15:04:18.800 00003540 $HASP373 FTPD STARTED
15:04:18.806 00003540 $HASP373 PORTMAP STARTED
15:04:20.088 00003540 +EZA4252I portmap: started
15:04:21.142 00003540 +EZY2702I Server-FTP: Initialization completed at 14:04:21 on 08/05/18.
15:04:24.446 00003540 EZZ6003I TELNET LISTENING ON PORT 23
bote@larjem.com [hercules-390]
2018-08-05 15:06:57 UTC
Permalink
What you could do is: 1 - make sure Hercules is shutdown.
2 - start up tttest.exe
3 - Go to Test menu, and Start Hercules, and configure Loading Image... https://www.imageupload.co.uk/images/2018/08/05/Untitled.png

https://www.imageupload.co.uk/images/2018/08/05/Untitled.png

https://www.imageupload.co.uk/images/2018/08/05/Untitled... https://www.imageupload.co.uk/images/2018/08/05/Untitled.png


View on www.imageupload.co.uk https://www.imageupload.co.uk/images/2018/08/05/Untitled.png
Preview by Yahoo




4 - go to Test and Start Ping Test.


If that all works, you then know it's your z/OS configuration.




I'd also change your CTCI devices in your hercules config to LCS devices. Not sure what the advantages are, aside from LCS supports more than just TCP/IP protocols.
mfny81@yahoo.com [hercules-390]
2018-08-05 19:16:16 UTC
Permalink
Ping test is fine, still cant telnet into z/OS though.


Maybe the best way to do this is to describe my network IP's and then someone can offer me a z/OS config setup that may work ?


Physical Router/Gateway: 192.168.178.1
NIC/Hercules Host: 192.168.178.40
Hercules Device: 0E20.2 LCS

z/OS Guest IP: 192.168.178.69


Should be noted that networking is not my strong point ether skill set wise, I know enough to set up a home router via DCHP but that's about it...
bote@larjem.com [hercules-390]
2018-08-05 19:59:17 UTC
Permalink
This post might be inappropriate. Click to display it.
mfny81@yahoo.com [hercules-390]
2018-08-05 21:18:00 UTC
Permalink
That didn't work unfortunately.


I am this close to giving up on this for now..


I am not getting any error messages to work on or anything, its just not working and I have no idea why.
Dave McGuire Mcguire@neurotica.com [hercules-390]
2018-08-05 22:27:30 UTC
Permalink
Post by ***@yahoo.com [hercules-390]
Ping test is fine, still cant telnet into z/OS though.
Maybe the best way to do this is to describe my network IP's and then
someone can offer me a z/OS config setup that may work ?
Physical Router/Gateway: 192.168.178.1
NIC/Hercules Host: 192.168.178.40
Hercules Device: 0E20.2  LCS
z/OS Guest IP: 192.168.178.69
Should be noted that networking is not my strong point ether skill set
wise, I know enough to set up a home router via DCHP but that's about it...
I'm sorry if this is an obvious one, but I don't recall from the
beginning of the thread. You are using tn3270, right? Not just plain
character-mode ASCII telnet?

-Dave
--
Dave McGuire, AK4HZ
New Kensington, PA
mfny81@yahoo.com [hercules-390]
2018-08-05 22:40:02 UTC
Permalink
The problem is narrowed down in that I can ping to and from Herc via the TTTest application, however using those same settings in the actual HercGUI, Hyperion and the z/OS installation leaves me with nothing happening and no clue as to why. All I do know is that I can not ping the "live" Hercules/zOS setup, only the TTTest one successfully using the very same settings.
mfny81@yahoo.com [hercules-390]
2018-08-05 23:47:54 UTC
Permalink
*Sigh*


Right so this is where I am at right now, still nothing working. I am gonna take a break for a bit.. if anyone has any ideas or can offer any hints,tips,configs that may work.. let me know.


Router is on: 192.168.178.1
Host/NIC is on: 192.168.178.2
Herc/Guest is on: 192.168.178.3
Subnet is: 255.255.255.0


Log from HercGUI:


00:34:59.141 00000FE4 HHC00160I SCP command: START TCPIP
00:34:59.334 00000FE4 $HASP373 TCPIP STARTED
00:35:00.102 00000FE4 EZZ7450I FFST SUBSYSTEM IS NOT INSTALLED
00:35:03.021 00000FE4 EZZ0162I HOST NAME FOR TCPIP IS ADCD
00:35:03.087 00000FE4 EZZ0300I OPENED PROFILE FILE DD:PROFILE
00:35:03.095 00000FE4 EZZ0309I PROFILE PROCESSING BEGINNING FOR DD:PROFILE
00:35:03.296 00000FE4 EZZ0655I PORT 8879 TCP BBODMGR IS ALREADY RESERVED
00:35:03.305 00000FE4 EZZ0655I PORT 7277 TCP BBODMGR IS ALREADY RESERVED
00:35:03.314 00000FE4 EZZ0655I PORT 9809 TCP BBODMGR IS ALREADY RESERVED
00:35:03.318 00000FE4 EZZ0655I PORT 9090 TCP BBODMGR IS ALREADY RESERVED
00:35:03.327 00000FE4 EZZ0655I PORT 9043 TCP BBODMGR IS ALREADY RESERVED
00:35:03.333 00000FE4 EZZ0655I PORT 5755 TCP BBODMNC IS ALREADY RESERVED
00:35:03.339 00000FE4 EZZ0655I PORT 5756 TCP BBODMNC IS ALREADY RESERVED
00:35:03.361 00000FE4 EZZ0316I PROFILE PROCESSING COMPLETE FOR FILE DD:PROFILE
00:35:03.373 00000FE4 EZZ0334I IP FORWARDING IS DISABLED
00:35:03.380 00000FE4 EZZ0338I TCP PORTS 1 THRU 1023 ARE RESERVED
00:35:03.387 00000FE4 EZZ0338I UDP PORTS 1 THRU 1023 ARE RESERVED
00:35:03.398 00000FE4 EZZ4202I Z/OS UNIX - TCP/IP CONNECTION ESTABLISHED FOR TCPIP
00:35:03.430 00000FE4 HHC00909E 0:0E21 CTC: invalid write buffer segment length 0 at offset 0002
00:35:03.430 00000FE4 HHC01315I 0:0E21 CHAN: ccw 0124001F 450B2CE8=>34BE4000 34BE4800 34BEC000 34BEC800 .. .......{...H.
00:35:03.430 00000FE4 HHC01302I 0:0E21 CHAN: idaw 34BE4000, len 01F: =>001D0000 07000000 00000000 50000000 ............&...
00:35:03.430 00000FE4 HHC01312I 0:0E21 CHAN: stat 0E00, count 0000
00:35:03.430 00000FE4 HHC01313I 0:0E21 CHAN: sense 08000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00:35:03.430 00000FE4 HHC01314I 0:0E21 CHAN: sense DATCK
00:35:03.437 00000FE4 HHC01315I 0:0E21 CHAN: ccw 0124001F 450B2CE8=>34BE4000 34BE4800 34BEC000 34BEC800 .. .......{...H.
00:35:03.437 00000FE4 HHC01303I 0:0E21 CHAN: idaw 0000000000000000, len 0000:
00:35:03.437 00000FE4 HHC01312I 0:0E21 CHAN: stat 0C20, count 001F
00:35:03.451 00000FE4 IOS000I 0E21,0E,CPC,2E,0C20,,,,VTAM
00:35:03.500 00000FE4 EZB6473I TCP/IP STACK FUNCTIONS INITIALIZATION COMPLETE.
00:35:03.503 00000FE4 EZAIN11I ALL TCPIP SERVICES FOR PROC TCPIP ARE AVAILABLE.
00:35:05.392 00000FE4 EZD1176I TCPIP HAS SUCCESSFULLY JOINED THE TCP/IP SYSPLEX GROUP EZBTCPCS
00:35:13.730 00000FE4 $HASP373 FTPD STARTED
00:35:13.761 00000FE4 $HASP373 PORTMAP STARTED
00:35:14.263 00000FE4 +EZA4252I portmap: started
00:35:15.017 00000FE4 +EZY2702I Server-FTP: Initialization completed at 23:35:15 on 08/05/18.
00:35:30.591 00000FE4 EZZ6003I TELNET LISTENING ON PORT 23


Contents of PROFILE:


DEVICE CTCA1 CTC E20
LINK CTC1 CTC 1 CTCA1
HOME
192.168.178.3 CTC1
GATEWAY
192.168.178.1 = CTC1 1492 HOST
DEFAULTNET 192.168.178.2 CTC1 1492 0
Brian_Westerman@SyzygyInc.com [hercules-390]
2018-08-06 06:18:17 UTC
Permalink
At one poitn you said your settings were:
Physical Router/Gateway: 192.168.178. 1
NIC/Hercules Host: 192.168.178. 40
Hercules Device: 0E20.2 LCS

z/OS Guest IP: 192.168.178. 69



then, later, you said they were:Router is on: 192.168.178. 1
Host/NIC is on: 192.168.178. 2
Herc/Guest is on: 192.168.178. 3
Subnet is: 255.255.255. 0



You can't have it both ways, so lets assume that your the second one I listed above (192.168.178.1,2&3), and NOT the one with 192.168.178.69 and 192.168.178.40





You have a few problems, one minor, one iffy and two fatal:


1) change your

LINK CTC1 CTC 1 CTCA1

to
LINK CTC1 CTC 0 CTCA1



Your GATEWAY statement and DEFAULTNET statements are supposed to be replaced by BEGINROUTES/ENDROUTES as of several releases of z/OS back (I think 1.8)


But the biggest problem is that your DEFAULTNET points to your windows box and not your router:



DEFAULTNET 192.168.178. 2 CTC1 1492 0


should be

DEFAULTNET 192.168.178. 1 CTC1 1492 0


The second big problem is that your Hercules definition is wrong I don't know what or 192.168.0.210 192.168.178.40 is, but it's not your z/OS,, so



0E20.2 CTCI 192.168.0.210 192.168.178. 40



should be



0E20.2 CTCI 192.168.178.3 192.168.178.2 (assuming .3 is your z/os, .2 is your local PC)


Also, if you are going to use the CTC, then 1492 should be 1500 in every one of them.


If you want to convert to BEGINROUTES, it should be:


BEGINROUTES
ROUTE 192.168.0.0 255.255.0.0 = CTC1 MTU 1500
ROUTE DEFAULT 192.168.178.1 CTC1 MTU 1500
ENDROUTES





I don't see how your TT64TEST could have possibly worked.


Please make the changes I listed, then post your ENTIRE hercules config and your entire TCPIP PROFILE and TCPDATA parameters.


Also, post your RESOLVER PROC and the things that your RESOLVER points to (the parms your DD"s inside the proc are pointing to).



Also you might as well list your TCPIP.HOSTS dataset and CUT/PASTE the results of your HOMETEST command under TSO, we might as well fix everything at once.


Brian
mfny81@yahoo.com [hercules-390]
2018-08-06 07:52:50 UTC
Permalink
My settings were indeed the second set. Sorry that this was not more clear.. I was tired/frustrated.


I have done more testing and found that my Hercules config file is indeed apparently set up correctly re: network as I was able to install Debian Jessie successfully from a net install.


Will mess with the z/OS configuration more today and see what happens.


Thanks to all for the advice,tips etc so far.
mfny81@yahoo.com [hercules-390]
2018-08-06 07:47:38 UTC
Permalink
My settings as of now are the second set as you had guessed. Sorry if that was not clear, it was late and I was tired and frustrated.


I have done more testing and now I know my settings are good on the Host side as I am able to do a net install of Debian Jessie via SSH.


So its the z/OS side that is more the likely wrong as you have suggested, I will try again today.


Thanks to all for all the help/pointers so far.
mfny81@yahoo.com [hercules-390]
2018-08-06 09:44:42 UTC
Permalink
Spoke to soon,


While during the install I was able to SSH fine, once in the installed Debian system I am right back to getting nothing in nor out of it.
mcisho@yahoo.com [hercules-390]
2018-08-06 10:43:14 UTC
Permalink
Debian only supports CTCI or QETH, it doesn't support LCS.


Ian
mcisho@yahoo.com [hercules-390]
2018-08-06 14:52:07 UTC
Permalink
So this leads me to think trying QETH may be worth a go with z/OS ?
Well, that's a definite maybe. If you can't get LCS to work with z/OS, I don't see why you should succeed with QETH, which has even more things you need to do.



Have you read the copious WIN-CTCI help that Fish went to so much trouble to create?


Have you followed any of the advice given by Brian Westerman?


Ian
mcisho@yahoo.com [hercules-390]
2018-08-06 23:52:07 UTC
Permalink
Yes ive gone though all the troubleshooting and tips and hints given here, all have not gotten me anywhere sadly..
Yes, but have you read the copious WIN-CTCI help that Fish went to so much trouble to create? It provides step by step hand-holding on how to configure networking on Windows.


If you want help from folk here you have to provide all of the necessary information, which means
1. the Windows network configuration, for example the output from an 'ipconfig /all' command,
2. the Hercules config,
3. the TCPIP profile.
And every time you change something and ask for help again, provide all of the information again.



A few days ago you posted:-
DEVICE CTCA1 CTC E20
LINK CTC1 CTC 1 CTCA1
which is wrong, the LINK should be:-

LINK CTC1 CTC 0 CTCA1
mcisho@yahoo.com [hercules-390]
2018-08-08 13:19:05 UTC
Permalink
Copy first 'page', paste into a text document, Copy second 'page', paste into a text document, etc, etc?


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

The TCPIP Profile is multiple "pages" long and about 100 lines so not sure how to copy and paste the lot.
Mike Stramba mikestramba@gmail.com [hercules-390]
2018-08-09 11:21:53 UTC
Permalink
Or use Tom Brennan's Vista emulators Transfer ($indfile) menu to send
the file to your pc.

Or use Vista's mouse / keyboard cut / paste.

Or any other tn3270 emulator that supports $indfile

Mike
Post by ***@yahoo.com [hercules-390]
Copy first 'page', paste into a text document, Copy second 'page', paste
into a text document, etc, etc?
The TCPIP Profile is multiple "pages" long and about 100 lines so not sure
how to copy and paste the lot.
Mike Stramba mikestramba@gmail.com [hercules-390]
2018-08-08 21:31:34 UTC
Permalink
Not sure where to find Hercules Log.
Start hercules with hercules >logfile.txt
Not sure how to get the full TCPIP Profile "out of" Hercules guest OS.
Download Tom Brennan's fabulous Vista tn3270 emulator (30 day trial)
Then buy it .. it's a "whopping" $30 U.S. Best software deal in
.... history ? :)

Easy mouse driven or shift-keys cut and paste (like any other Windows program).

Great UI, online help $indfile file transport .... macros .... and on
and on ...

And Tom will respond by email if you have any problems.

No "sales commission" for me, just a very happy customer.

Mike
Wayne Bickerdike waynevb@gmail.com [hercules-390]
2018-08-09 04:19:06 UTC
Permalink
You could also use DASDLOAD. Hammer to crack a nut. But you could add a
sequential file (your TCPIP profile) and open it in MVS.

TST001 3390-3 *
SYS2.TCPIP.PARMS SEQ D:\MVS\DASD\TCPIP.TXT TRK 5 5 0 PS FB 80 3120
Not sure where to find Hercules Log.
Start hercules with hercules >logfile.txt
Not sure how to get the full TCPIP Profile "out of" Hercules guest OS.
Download Tom Brennan's fabulous Vista tn3270 emulator (30 day trial)
Then buy it .. it's a "whopping" $30 U.S. Best software deal in
.... history ? :)
Easy mouse driven or shift-keys cut and paste (like any other Windows program).
Great UI, online help $indfile file transport .... macros .... and on
and on ...
And Tom will respond by email if you have any problems.
No "sales commission" for me, just a very happy customer.
Mike
--
Wayne V. Bickerdike
'\'Fish\' (David B. Trout)' david.b.trout@gmail.com [hercules-390]
2018-08-06 05:38:12 UTC
Permalink
***@yahoo.com wrote:


[...]
Post by ***@yahoo.com [hercules-390]
Physical Router/Gateway: 192.168.178.1
NIC/Hercules Host: 192.168.178.40
Hercules Device: 0E20.2 LCS
z/OS Guest IP: 192.168.178.69
[...]
Post by ***@yahoo.com [hercules-390]
Router is on: 192.168.178.1
Host/NIC is on: 192.168.178.2
Herc/Guest is on: 192.168.178.3
Subnet is: 255.255.255.0
So which is it?
--
"Fish" (David B. Trout)
Software Development Laboratories
http://www.softdevlabs.com
mail: ***@softdevlabs.com
Brian_Westerman@SyzygyInc.com [hercules-390]
2018-08-06 05:20:45 UTC
Permalink
I updated a problem here with the cookbook approach on setting this up a few months back.


Basically, if you can log on to your TSO locally, you can enter the command 'TSO HOMETEST' and it will tell you if the z/OS side is okay.


Assuming it is, then the most common errors are that you have not set up your Hercules config adapter(s) to connect to the addresses that your z/OS instance thinks it need to use.


You need to know a few things going in:


1) The IP address of your Windows PC (the one you are actually running Hercules on)
2) The IP address of your ROUTER (both of these you get from the command prompt (IPCONFIG /ALL)
3) The IP address that you want your Hercules instance (your z/OS) to be, it cannot be the same as either of the above 2 items. It shoudl not match anything else in your local network (no other PC's) and it shoudl be a static address that you assign as static in your ROUTER (for both the PC and the HErcules instance of z/OS)

4) the device type of your connection, typincally it's defined in the Hercueles config as the LCS device (s)
5) a dummy mac address (you can use something like 02-AA-BB-CC-DD-EE) for CTCIWIN



For instance, my Windows PC local IP is 192.168.1.69 and my router is 192.168.1.64 (most people use 192.168.1.1, but I wanted to be a bit more secure). My z/OS hercules instance uses IP 192.168.1.66


My IODF has 4 CTCs defined at E20, E21, E22, E23 and I use E22 and E23 for my connection (and a backup)



So my hercules configuration entry is :



0E22-0E23 LCS -n 192.168.1.69 -m 02-AA-BB-CC-DD-EE 192.168.1.66




on z/OS my TCP/IP profile has the following (plus a lot more, but only these things matter)


E22 is my primary adapter and I am using a LCS device, you can use other types, even OSA, but I find LCS to perform the best (for me)

....

DEVICE LCSA2 LCS E22 AUTORESTART
LINK LCS2 ETHERNET 0 LCSA2


HOME
192.168.1.66 LCS2


BEGINROUTES
ROUTE 192.168.0.0 255.255.0.0 = LCS2 MTU 1492 <--MTU 1492 works well
ROUTE DEFAULT 192.168.1.64 LCS2 MTU 1492 <---router is 192.168.1.64
ENDROUTES



START LCSA2
....


As I said, there are other items before and after these, but these are the ones that matter for your purposes.


You should also make sure that your TCPDATA has the following things set:


TCPIPJOBNAME TCPIP


HOSTNAME Z23 <-- or whatever you called your host, some are ADCD, I set mine as z23, when you start up your z/OS, your COMMNDxx should have an entry like this:


COM='S EZAZSSI,P=Z23' <-- whatever you set the P= to is what you use as your host name.


DOMAINORIGIN SOMETHING.COM <-- obviously yours is something else, but whatever you use, make sure your TCPIP.HOSTS etc. is the same as this.


NSINTERADDR 192.168.1.64 <-- this is your ROUTER





Make sure you set up the RESOLVER and PORTMAP started tasks


Inside your RESOLVER task, make sure you set up:



Your IPNODES :at the GLOBALIPNODES statement and DEFAULTIPNODES statement



192.168.1.66 Z23 <-- z/OS (for me) is 192.168.1.66, and my hostname is Z23


Also, make sure that everything points to the exact same TCPDATA member of TCPPARMs, otherwise you end up with a system that you can go in one way but can't get back out.


If you set things up as I outlined, then you can connect to your z/OS from anywhere that has an internet connection (assuming you open up ports 20, 21, 23, and the SSL ports 443, 992 etc.if you use them inside your ROUTER) so that you can TN3270, FTP and send EMAIL from or to your z/OS.


If you want to use DB/2 and your z/OS web server, you will need to open up their ports as well. Make sure that you open them inside your ROUTER to your Hercules/zos instance, NOT your local PC's IP. In my case it's 192.168.1.66 (my PC itself is 192.168.1.69), don't mix them up, really odd things happen.


There are lots of other little fine tuning things you can/should do, but the above changes are where most people mess up.


Lately I have noticed that a lot of people are messing up on the actual CTC device they use to connect (for me that's the E20-E23), they have some other address (that they have to look up and use) or forget to define something that Hercules can use for this, it can be a CTC or even defined as an OSA adapter. I don't think you can use the OSA as an LCS, but there are OSA setting on this site as well.



If your system is (I hope because you would probably be breaking the law otherwise) a ADCD system or some other "legal" type, then you probably have E20-E23 like me.


If you got it via some nefarious means, then you will need to generate the proper devices and that's pretty much where I draw the line because if you are breaking the law, you are on your own. If you have a legal copy, then this won't be an issue for you, and it's just a matter of the other stuff I mentioned above.



If you have more questions, feel free to contact me off list if you want, but if you keep it on the list more people will benefit from the text of what you do to make it work.


Brian
Loading...