Rupert,
Just to see whats happening, I would suggest you look at Fish's HERCPRT
().
Chris
--
<cjar1950@...>
----------------------------------------------------------------------------------------------------------------------------------
On Fri, 20 Nov 2020 17:57:25 +0000
"Rupert Reynolds" <rupertreynolds@...> wrote:
Sorry I forgot to say that I tried /v 003,online (it's slash in my Hercules
for an MVS command, /$ for JES2)
The response was:-
IEE302I 003 ONLINE
The highlighted part after 'sockdev' was not in the config file. It seems
Hercules defaults to that for printers.
Roops
On Fri., Nov. 20, 2020, 17:01 Rahim Azizarab via groups.io, <rahimazizarab=
[email protected]> wrote:
You already have the definition
B 0003 3211 PRT 127.0.0.1:4444 sockdev print fcbck IO[4]
I usually use 1403 for Printer; I am not sure if the highlighted part is
necessary. Just go to your Web browser and type localhost:4444; you may
need to do a $S PRT1 on your SCP (Hercules) console too.
*Rahim *
On Friday, November 20, 2020, 10:49:49 AM CST, Rupert Reynolds <
rupertreynolds@...> wrote:
Can anyone suggest what to do next, please? I'm trying to understand the
various options for TCP/IP links
between MVS and the host. I'm mostly ignorant of the Herc options for
sockdev devices and CTCs etc, and I
did do a SYSGEN a few times many years ago, but most of the details are
forgotten.
I don't think it's a configuration problem on the host, as I can connect to
port 3505 (RDR) and submit jobs just fine, although it shows as a 2540 in
MVS (00c).
Given this result from /D U in the Hercules console, I was assuming that
there are two 3211 printers in the IOGEN, 002 and 003.
HHC00008I /d u
15.36.56 IEE450I 15.36.56 UNIT STATUS 447
UNIT TYPE STATUS VOLSER VOLSTATE UNIT TYPE STATUS VOLSER VOLSTATE
002 3211 A 003 3211 OFFLINE
009 3215 C 00C 2540 A
00D 2540 A 00E 1403 A
00F 1403 A 010 3277 OFFLINE
011 3277 OFFLINE 01F 3215 OFFLINE
070 2703 OFFLINE 071 2703 OFFLINE
072 2703 OFFLINE 073 2703 OFFLINE
074 2703 OFFLINE 075 2703 OFFLINE
076 2703 OFFLINE 077 2703 OFFLINE
080 2703 OFFLINE 081 2703 OFFLINE
082 2703 OFFLINE 083 2703 OFFLINE
084 2703 OFFLINE 085 2703 OFFLINE
086 2703 OFFLINE 087 2703 OFFLINE
If I hit Esc to view hardware from Hercules' POV, 003 is missing. So I
added 003 in the TK4-.cnf :-
# unit record devices
#
0002 3211 prt/prt002.txt ${TK4CRLF}
0003 3211 127.0.0.1:4444 sockdev
And now it appears in the Hercules hardware list (below), but I can't
connect to it on port 4444 from
Win64 telnet, a simple socket client I bashed together, or using telnet
from Linux. For comparison,
I /can/ connect to Hercules port 21 if I start FTPD.
Roops
Enc:-
U Addr Modl Type Assignment
A 0002 3211 PRT prt/prt002.txt crlf print fcbck IO[2]
B 0003 3211 PRT 127.0.0.1:4444 sockdev print fcbck IO[4]
C 000E 1403 PRT prt/prt00e.txt crlf print fcbck IO[21]
D 000C 3505 RDR 3505 sockdev ascii trunc eof IO[4]
E 000D 3525 PCH pch/pch00d.txt ascii IO[2]
F 0480 3420 TAPE * IO[4] maxsize=0 eotmargin=128K deonirq=N
G 010C 3505 RDR jcl/dummy ascii trunc eof IO[2]
H 010D 3525 PCH pch/pch10d.txt ascii IO[2]
I 000F 1403 PRT prt/prt00f.txt crlf print fcbck IO[117]
J 030E 1403 PRT log/hardcopy.log crlf print fcbck IO[449]
K 0009 3215 CON *syscons cmdpref(/) IO[237]
L 00C0 3270 DSP * IO[4]
M 00C1 3270 DSP * IO[4]
N 00C2 3270 DSP * IO[4]
O 00C3 3270 DSP * IO[4]
P 00C4 3270 DSP * IO[4]
Q 00C5 3270 DSP * IO[4]
R 00C6 3270 DSP * IO[4]
S 00C7 3287 DSP * IO[2]
T 03C0 3270 DSP GROUP=TCAM IO[4]
U 03C1 3270 DSP GROUP=TCAM IO[4]
V 03C2 3270 DSP GROUP=TCAM IO[4]
W 03C3 3270 DSP GROUP=TCAM IO[4]
X 03C4 3270 DSP GROUP=TCAM IO[4]
Y 03C5 3270 DSP GROUP=TCAM IO[4]
Z 03C6 3270 DSP GROUP=TCAM IO[4]
. 03C7 3270 DSP GROUP=TCAM IO[4]
. 0610 3088 CTCA 127.0.0.1:18610 IO[1]
. 0611 3088 CTCA 127.0.0.1:18611 IO[1]
. 0660 3705 LINE Read count=39, Write count=37 IO[77]
. 0661 3705 LINE Read count=39, Write count=37 IO[77]
. 0662 3705 LINE Read count=39, Write count=37 IO[77]
. 0663 3705 LINE Read count=39, Write count=37 IO[77]
. 0664 3705 LINE Read count=30, Write count=27 IO[58]
. 0665 3705 LINE Read count=30, Write count=27 IO[58]
. 0666 3705 LINE Read count=30, Write count=27 IO[58]
. 0667 3705 LINE Read count=30, Write count=27 IO[58]