REXX server/Java client



IBM's Command List programming language & Restructured Extended Executor

REXX server/Java client

Postby moral » Thu Aug 16, 2012 2:03 pm

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.
moral
 
Posts: 14
Joined: Mon May 28, 2012 12:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: REXX server/Java client

Postby NicC » Thu Aug 16, 2012 2:13 pm

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: REXX server/Java client

Postby moral » Thu Aug 16, 2012 2:29 pm

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.
moral
 
Posts: 14
Joined: Mon May 28, 2012 12:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: REXX server/Java client

Postby moral » Thu Aug 16, 2012 5:35 pm

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:>
moral
 
Posts: 14
Joined: Mon May 28, 2012 12:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: REXX server/Java client

Postby dick scherrer » Thu Aug 16, 2012 7:57 pm

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: REXX server/Java client

Postby moral » Thu Aug 16, 2012 10:06 pm

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.
moral
 
Posts: 14
Joined: Mon May 28, 2012 12:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: REXX server/Java client

Postby dick scherrer » Fri Aug 17, 2012 12:21 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: REXX server/Java client

Postby moral » Fri Aug 17, 2012 2:04 am

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.
moral
 
Posts: 14
Joined: Mon May 28, 2012 12:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: REXX server/Java client

Postby dick scherrer » Fri Aug 17, 2012 2:30 am

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. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: REXX server/Java client

Postby Pedro » Fri Aug 17, 2012 3:58 am

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.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Next

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post