Page 1 of 3

REXX server/Java client

PostPosted: Thu Aug 16, 2012 2:03 pm
by moral
Hi everyone
First I'm sorry for my english.
I'm new in mainframe environment but day by day I learn new things. Now I'm learn about REXX and find Redbook: "Implementing REXX Support in SDSF".
In this book is chapter about server in REXX and desktop client in JAVA. In this book the REXX server use a UNIX System Services too create a multitasking environment but in my comapny we haven't UNIX. Is ane other way to write that server? Is possible write JAVA client which can browse data set, SDSF, send e-mail or I'm a dreamer.
I do not expect the ready solution I only ask about the pointers where to look for.

Re: REXX server/Java client

PostPosted: Thu Aug 16, 2012 2:13 pm
by NicC
Do you have access to OMVS - the zOS equivalent of unix? It would most likely be a menu option somewhere or issue command OMVS on a command line.

Re: REXX server/Java client

PostPosted: Thu Aug 16, 2012 2:29 pm
by moral
NicC wrote:Do you have access to OMVS - the zOS equivalent of unix? It would most likely be a menu option somewhere or issue command OMVS on a command line.

Now im in my home when I will be in the work I give you an anawer.
I think we have UNIX but I haven't authorizations to it.

Re: REXX server/Java client

PostPosted: Thu Aug 16, 2012 5:35 pm
by moral
NicC wrote:Do you have access to OMVS - the zOS equivalent of unix? It would most likely be a menu option somewhere or issue command OMVS on a command line.

I checked what you ask. I write the OMVS in command line end i see USER:/SYSTEM/tmp:>

Re: REXX server/Java client

PostPosted: Thu Aug 16, 2012 7:57 pm
by dick scherrer
Hello and welcome to the forum,

REXX can interact with SDSF without using USS/OMVS or Java.

What do you want your REXX to do? If you explain your goal, someone may have a suggestion.

Re: REXX server/Java client

PostPosted: Thu Aug 16, 2012 10:06 pm
by moral
dick scherrer wrote:Hello and welcome to the forum,

REXX can interact with SDSF without using USS/OMVS or Java.

What do you want your REXX to do? If you explain your goal, someone may have a suggestion.

Hi
I try write a client/server system.
REXX server on mainframe/JAVA client on windows.
Client send request to the server and server corresponds to client, ex. client request a list of member or output SDSF.
P.S.
I have problem with connection between hercules emulator and windows.

Re: REXX server/Java client

PostPosted: Fri Aug 17, 2012 12:21 am
by dick scherrer
Hello,

I suspect that you should be using a "real" mainframe and not something running under Hercules. . .

Which operating system are you running on Herecules?

Now I'm learn about REXX and find Redbook: "Implementing REXX Support in SDSF".
This is written for the mainframe, not the emulator . . . Well, as far as i know.

Re: REXX server/Java client

PostPosted: Fri Aug 17, 2012 2:04 am
by moral
dick scherrer wrote:Hello,

I suspect that you should be using a "real" mainframe and not something running under Hercules. . .

Which operating system are you running on Herecules?

Now I'm learn about REXX and find Redbook: "Implementing REXX Support in SDSF".
This is written for the mainframe, not the emulator . . . Well, as far as i know.

I use emulator only for test. I have real mainframe in work. On Hercules I running z/OS.

Re: REXX server/Java client

PostPosted: Fri Aug 17, 2012 2:30 am
by dick scherrer
Hello,

I suspect you will have a better testing experience if you use the real mainframe for this testing.

There is a strong possibility that if you get something running on Hercules, it will not work the same on the real mainframe.

Just a thought. . .

Re: REXX server/Java client

PostPosted: Fri Aug 17, 2012 3:58 am
by Pedro
What do you want your REXX to do?


Chapter 10 of that fine manual describes two programs and seems to provide the source as well. There are various examples that can be strung together to make the server program. I think the poster just wants to get that sample program running.

create a multitasking environment but in my comapny we haven't UNIX

It seems like there is some confusion in terminology... you do not need a separate UNIX system. Unix System Services is part of z/OS. And it seems like you can issue OMVS command, so you should be able to issue the rexx SYSCALLS function as shown in the Redbook.