Discussion:
mainframe emulator for rexx socket development, execio etc...
frankfera61
2011-07-20 21:37:51 UTC
Permalink
Hi Guys,

Apologies in advance for this broad ranged question. I need a mainframe environment for some development I'm doing, and I cannot afford to buy or store a z/os in the office ;-). I did search the web and hercules pages about 6 months ago, and it seemed at the time that Hercules emulation did not support rexx, but looking at this forum thought I'd ask the broad question to the forum.

Does the latest hercules emulation support your standard TSO REXX code, and more specifically the REXX SOCKET verbs, as well as your standard REXX dataset manipulation stuff (ALLOC EXECIO, etc...).

Frank
Dave
2011-07-20 21:54:39 UTC
Permalink
-----Original Message-----
Sent: 20 July 2011 22:38
Subject: [hercules-390] mainframe emulator for rexx socket
development, execio etc...
Hi Guys,
Apologies in advance for this broad ranged question. I need a
mainframe environment for some development I'm doing, and I
cannot afford to buy or store a z/os in the office ;-). I did
search the web and hercules pages about 6 months ago, and it
seemed at the time that Hercules emulation did not support
rexx, but looking at this forum thought I'd ask the broad
question to the forum.
Does the latest hercules emulation support your standard TSO
REXX code, and more specifically the REXX SOCKET verbs, as
well as your standard REXX dataset manipulation stuff (ALLOC
EXECIO, etc...).
No, MUSIC/SP is the only publicly available OS which includes the IBM REXX.
However historically the RXSOCKET interface was not part of REXX but a third
party library and I have no idea if that is included...
Frank
------------------------------------
http://groups.yahoo.com/group/hercules-390
http://www.hercules-390.org
Yahoo! Groups Links
Tony Harminc
2011-07-20 22:32:03 UTC
Permalink
Post by Dave
No, MUSIC/SP is the only publicly available OS which includes the IBM REXX.
However historically the RXSOCKET interface was not part of REXX but a third
party library and I have no idea if that is included...
The RXSOCKET package was on the VM Workshops tape(s), and I think is
still available. Not that it would just drop in anywhere, but it may
still be a good reference.

Tony H.
Michael Short
2011-07-20 22:52:59 UTC
Permalink
I'm not at home where I can check my MUSIC system, but I'm pretty sure that
it contains a REXX function package for Socket operations.
Post by Dave
**
-----Original Message-----
Sent: 20 July 2011 22:38
Subject: [hercules-390] mainframe emulator for rexx socket
development, execio etc...
Hi Guys,
Apologies in advance for this broad ranged question. I need a
mainframe environment for some development I'm doing, and I
cannot afford to buy or store a z/os in the office ;-). I did
search the web and hercules pages about 6 months ago, and it
seemed at the time that Hercules emulation did not support
rexx, but looking at this forum thought I'd ask the broad
question to the forum.
Does the latest hercules emulation support your standard TSO
REXX code, and more specifically the REXX SOCKET verbs, as
well as your standard REXX dataset manipulation stuff (ALLOC
EXECIO, etc...).
No, MUSIC/SP is the only publicly available OS which includes the IBM REXX.
However historically the RXSOCKET interface was not part of REXX but a third
party library and I have no idea if that is included...
Frank
------------------------------------
http://groups.yahoo.com/group/hercules-390
http://www.hercules-390.org
Yahoo! Groups Links
[Non-text portions of this message have been removed]



------------------------------------
Mike Stramba
2011-07-21 00:10:42 UTC
Permalink
http://www.canpub.com/teammpg/de/mcgweb/hercnote.txt

Comparing Hercules and Sim390 emulators:

One of the strengths of MUSIC/SP is its support for TCP/IP protocols,
via socket calls. For example, it can act as a web server, an FTP
server, an FTP client, and a TN3270 (telnet) client. It can send
email using the SMTP protocol. However, TCP/IP in MUSIC/SP requires
either a VM environment (with the TCPIP virtual machine providing the
TCP/IP support) or the Sim390 emulator (which does not use VM but
which emulates VM's TCPIP virtual machine and the IUCV protocol used
for communication between MUSIC and the TCPIP virtual machine).
When MUSIC/SP is run under Hercules, without VM, Hercules itself
currently has only very limited support for the IUCV instruction
(opcode B2F0): in Problem State it gives PI 1 (Invalid Opcode); in
Supervisor State it gives Condition Code 3 to indicate that IUCV is
not supported. Furthermore, since the license-free VM/370 available
for Hercules does not support TCP/IP, it is currently not possible to
run MUSIC/SP TCP/IP applications under Hercules. If you want to use
MUSIC/SP as a web or FTP server, or transfer files to/from MUSIC using
FTP, you need Sim390.
Post by Michael Short
I'm not at home where I can check my MUSIC system, but I'm pretty sure that
it contains a REXX function package for Socket operations.
Post by Dave
**
-----Original Message-----
Sent: 20 July 2011 22:38
Subject: [hercules-390] mainframe emulator for rexx socket
development, execio etc...
Hi Guys,
Apologies in advance for this broad ranged question. I need a
mainframe environment for some development I'm doing, and I
cannot afford to buy or store a z/os in the office ;-). I did
search the web and hercules pages about 6 months ago, and it
seemed at the time that Hercules emulation did not support
rexx, but looking at this forum thought I'd ask the broad
question to the forum.
Does the latest hercules emulation support your standard TSO
REXX code, and more specifically the REXX SOCKET verbs, as
well as your standard REXX dataset manipulation stuff (ALLOC
EXECIO, etc...).
No, MUSIC/SP is the only publicly available OS which includes the IBM REXX.
However historically the RXSOCKET interface was not part of REXX but a third
party library and I have no idea if that is included...
Frank
------------------------------------
http://groups.yahoo.com/group/hercules-390
http://www.hercules-390.org
Yahoo! Groups Links
[Non-text portions of this message have been removed]
------------------------------------
http://groups.yahoo.com/group/hercules-390
http://www.hercules-390.org
Yahoo! Groups Links
Mike Stramba
2011-07-21 00:16:33 UTC
Permalink
Also, as far as I can tell, TCPIP is disabled / not available in the
z/Vm "trial" edition.

All the online help for TCPIP is on the system, but the actual
programs are not :/

At least the "user level programs" (ping ...ifconfig ... etc), don't
seem to be there. I don't know (but doubt) if the underlying tcpip
modules are present either.
Post by Mike Stramba
http://www.canpub.com/teammpg/de/mcgweb/hercnote.txt
One of the strengths of MUSIC/SP is its support for TCP/IP protocols,
via socket calls. For example, it can act as a web server, an FTP
server, an FTP client, and a TN3270 (telnet) client. It can send
email using the SMTP protocol. However, TCP/IP in MUSIC/SP requires
either a VM environment (with the TCPIP virtual machine providing the
TCP/IP support) or the Sim390 emulator (which does not use VM but
which emulates VM's TCPIP virtual machine and the IUCV protocol used
for communication between MUSIC and the TCPIP virtual machine).
When MUSIC/SP is run under Hercules, without VM, Hercules itself
currently has only very limited support for the IUCV instruction
(opcode B2F0): in Problem State it gives PI 1 (Invalid Opcode); in
Supervisor State it gives Condition Code 3 to indicate that IUCV is
not supported. Furthermore, since the license-free VM/370 available
for Hercules does not support TCP/IP, it is currently not possible to
run MUSIC/SP TCP/IP applications under Hercules. If you want to use
MUSIC/SP as a web or FTP server, or transfer files to/from MUSIC using
FTP, you need Sim390.
Post by Michael Short
I'm not at home where I can check my MUSIC system, but I'm pretty sure that
it contains a REXX function package for Socket operations.
Post by Dave
**
-----Original Message-----
Sent: 20 July 2011 22:38
Subject: [hercules-390] mainframe emulator for rexx socket
development, execio etc...
Hi Guys,
Apologies in advance for this broad ranged question. I need a
mainframe environment for some development I'm doing, and I
cannot afford to buy or store a z/os in the office ;-). I did
search the web and hercules pages about 6 months ago, and it
seemed at the time that Hercules emulation did not support
rexx, but looking at this forum thought I'd ask the broad
question to the forum.
Does the latest hercules emulation support your standard TSO
REXX code, and more specifically the REXX SOCKET verbs, as
well as your standard REXX dataset manipulation stuff (ALLOC
EXECIO, etc...).
No, MUSIC/SP is the only publicly available OS which includes the IBM REXX.
However historically the RXSOCKET interface was not part of REXX but a third
party library and I have no idea if that is included...
Frank
------------------------------------
http://groups.yahoo.com/group/hercules-390
http://www.hercules-390.org
Yahoo! Groups Links
[Non-text portions of this message have been removed]
------------------------------------
http://groups.yahoo.com/group/hercules-390
http://www.hercules-390.org
Yahoo! Groups Links
frankfera61
2011-07-21 05:22:30 UTC
Permalink
Thanks all for your responses. Much appreciated.

Regards,

Frank Fera
Post by Mike Stramba
Also, as far as I can tell, TCPIP is disabled / not available in the
z/Vm "trial" edition.
All the online help for TCPIP is on the system, but the actual
programs are not :/
At least the "user level programs" (ping ...ifconfig ... etc), don't
seem to be there. I don't know (but doubt) if the underlying tcpip
modules are present either.
Post by Mike Stramba
http://www.canpub.com/teammpg/de/mcgweb/hercnote.txt
One of the strengths of MUSIC/SP is its support for TCP/IP protocols,
via socket calls. For example, it can act as a web server, an FTP
server, an FTP client, and a TN3270 (telnet) client. It can send
email using the SMTP protocol. However, TCP/IP in MUSIC/SP requires
either a VM environment (with the TCPIP virtual machine providing the
TCP/IP support) or the Sim390 emulator (which does not use VM but
which emulates VM's TCPIP virtual machine and the IUCV protocol used
for communication between MUSIC and the TCPIP virtual machine).
When MUSIC/SP is run under Hercules, without VM, Hercules itself
currently has only very limited support for the IUCV instruction
(opcode B2F0): in Problem State it gives PI 1 (Invalid Opcode); in
Supervisor State it gives Condition Code 3 to indicate that IUCV is
not supported. Furthermore, since the license-free VM/370 available
for Hercules does not support TCP/IP, it is currently not possible to
run MUSIC/SP TCP/IP applications under Hercules. If you want to use
MUSIC/SP as a web or FTP server, or transfer files to/from MUSIC using
FTP, you need Sim390.
Post by Michael Short
I'm not at home where I can check my MUSIC system, but I'm pretty sure that
it contains a REXX function package for Socket operations.
Post by Dave
**
-----Original Message-----
Sent: 20 July 2011 22:38
Subject: [hercules-390] mainframe emulator for rexx socket
development, execio etc...
Hi Guys,
Apologies in advance for this broad ranged question. I need a
mainframe environment for some development I'm doing, and I
cannot afford to buy or store a z/os in the office ;-). I did
search the web and hercules pages about 6 months ago, and it
seemed at the time that Hercules emulation did not support
rexx, but looking at this forum thought I'd ask the broad
question to the forum.
Does the latest hercules emulation support your standard TSO
REXX code, and more specifically the REXX SOCKET verbs, as
well as your standard REXX dataset manipulation stuff (ALLOC
EXECIO, etc...).
No, MUSIC/SP is the only publicly available OS which includes the IBM REXX.
However historically the RXSOCKET interface was not part of REXX but a third
party library and I have no idea if that is included...
Frank
------------------------------------
http://groups.yahoo.com/group/hercules-390
http://www.hercules-390.org
Yahoo! Groups Links
[Non-text portions of this message have been removed]
------------------------------------
http://groups.yahoo.com/group/hercules-390
http://www.hercules-390.org
Yahoo! Groups Links
Mike Stramba
2011-07-23 05:16:20 UTC
Permalink
Well (once again), I have "put my foot in it", and (again) I'm wrong.

Thanks to a much more knowledgeable user (you know who you are), I
have found out that Tcpiip *IS* on the z/vm trial !

The setup files .. etc are under user TCPMAINT, and the TCPIP stack is
started when vm/user TCPIP is logged on.

The setup files under TCPMAINT (tcip data,etc hosts,profile tcpip),
appear to be almost identical to OS390, where I managed to get TCPIP
working a few months ago.

I've setup an LCS in my herc config, and set the zVM data to the point
where I can ping it from CMS, but I'm getting an error message when
the TCIP vm starts up :

05:45:07 DTCPC3045E PCCA3 device LCS1: Error getting XA subchan id for 00000E20

So I'm wondering if the problem is something I haven't configured
properly, or if it's the zVM eval, missing something. There ARE
"missing saved segment" messages on OPERATOR's console when it IPL's,
but I don't know if any of them are required for TCPIP

Have any of you guys gotten it to work ?

Mike

Dave
2011-07-21 07:34:02 UTC
Permalink
-----Original Message-----
Sent: 21 July 2011 06:36
Subject: Re: [hercules-390] mainframe emulator for rexx
socket development, execio etc...
I think the Hercules 380 yahoo group got some version of Rexx running.
Not sure of compatibility.
Its basic ANSI REXX so no sockets, EXECIO or MVS specific stuff the caller
asked about. Also no TCIP
On Wed, Jul 20, 2011 at 4:37 PM, frankfera61
Post by frankfera61
Hi Guys,
Apologies in advance for this broad ranged question. I need
a mainframe environment for some development I'm doing, and I
cannot afford to buy or store a z/os in the office ;-). I did
search the web and hercules pages about 6 months ago, and it
seemed at the time that Hercules emulation did not support
rexx, but looking at this forum thought I'd ask the broad
question to the forum.
Post by frankfera61
Does the latest hercules emulation support your standard
TSO REXX code, and more specifically the REXX SOCKET verbs,
as well as your standard REXX dataset manipulation stuff
(ALLOC EXECIO, etc...).
Post by frankfera61
Frank
--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?
------------------------------------
http://groups.yahoo.com/group/hercules-390
http://www.hercules-390.org
Yahoo! Groups Links
Mike Schwab
2011-07-21 05:36:06 UTC
Permalink
I think the Hercules 380 yahoo group got some version of Rexx running.
Not sure of compatibility.
Post by frankfera61
Hi Guys,
Apologies in advance for this broad ranged question. I need a mainframe environment for some development I'm doing, and I cannot afford to buy or store a z/os in the office ;-). I did search the web and hercules pages about 6 months ago, and it seemed at the time that Hercules emulation did not support rexx, but looking at this forum thought I'd ask the broad question to the forum.
Does the latest hercules emulation support your standard TSO REXX code, and more specifically the REXX SOCKET verbs, as well as your standard REXX dataset manipulation stuff (ALLOC EXECIO, etc...).
Frank
--
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?
Loading...