Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-06 Thread Salva Carrasco
As i remember: ispf/rexx spawn a java that redirect stdin/stdout to unix pipes filetypes. Rexx open the pipes with syscall functions. Send request to stdin & receive response from stdout, with a start/end of response known protocol.

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-06 Thread Paul Gilmartin
On Wed, 6 Nov 2019 14:30:31 -0600, Lionel B Dyck wrote: >The biggest gain was using the environmental stem for bpxwunix that I >implemented this morning after some testing. I will check out that >bpx_shareas shortly as it sounds interesting. > Details? What did you put in that environmental

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-06 Thread Lionel B Dyck
Re: Improving the performance of an ISPF app using OMVS services (bpxwunix) Hi Lionel. Have you tried bpx_shareas in the env. stem passed to BPXWUNIX? Are you running a unix command or starting a shell script? Is your command "apf"? Some time ago, I was working in a similar issue: Ispf call

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-06 Thread Salva Carrasco
Hi Lionel. Have you tried bpx_shareas in the env. stem passed to BPXWUNIX? Are you running a unix command or starting a shell script? Is your command "apf"? Some time ago, I was working in a similar issue: Ispf calling Java. The creation of the JVM was really heavy, so we changed java code to

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-05 Thread Kirk Wolf
Not necessarily. See for example, the IBM JZOS batch launcher. It runs in a regular z/OS batch address space. The address space is dubbed when Java its first OMVS service call. Is that "under UNIX"? On Mon, Nov 4, 2019 at 1:07 PM ITschak Mugzach wrote: > The Java program does not run as a

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-05 Thread Kirk Wolf
ionel B Dyck > > Sent: Monday, November 4, 2019 12:00 PM > > To: IBM-MAIN@LISTSERV.UA.EDU > > Subject: Re: Improving the performance of an ISPF app using OMVS services > > (bpxwunix) > > > > Thanks for the education. > > > > Guess I need to find a faste

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-04 Thread Paul Gilmartin
On Mon, 4 Nov 2019 05:20:14 -0600, Lionel B Dyck wrote: >Are there any hints/tips to improve the performance of an ISPF application >that uses BPXWUNIX? In running on my normal system the performance is very >slow compared to a friends system running on a zPDT. > See also:

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-04 Thread Paul Gilmartin
On Mon, 4 Nov 2019 14:18:30 -0500, Tony Harminc wrote: > >Many programs that are customarily started from a shell prompt don't >have to be. Often this is just UNIXism at play. I have had success in >the past copying UNIX executable files (i.e. Program Objects in UNIX >files) into PDSE members, and

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-04 Thread Tony Harminc
On Mon, 4 Nov 2019 at 14:07, ITschak Mugzach wrote: > The Java program does not run as a main program, but need a shell > environment such as the one supplied by BPXBATCH. So actually the java > program already runs under a unix thread. this is not the case with Lionel > performance issue, as

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-04 Thread ITschak Mugzach
The Java program does not run as a main program, but need a shell environment such as the one supplied by BPXBATCH. So actually the java program already runs under a unix thread. this is not the case with Lionel performance issue, as his code runs under TSO and requires an extra asid to run the

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-04 Thread Tony Harminc
On Mon, 4 Nov 2019 at 07:32, ITschak Mugzach wrote: On Mon, 4 Nov 2019 at 07:30, Steve Austin wrote: > It was a while back, but I'm pretty sureI have used _BPX_SHAREAS and the > spawn syscall from REXX, to run Java in the same address space. Thats fine. However, java itself runs under

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-04 Thread Paul Gilmartin
On Mon, 4 Nov 2019 05:20:14 -0600, Lionel B Dyck wrote: >Are there any hints/tips to improve the performance of an ISPF application >that uses BPXWUNIX? In running on my normal system the performance is very >slow compared to a friends system running on a zPDT. > I've had bad performance due to

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-04 Thread ITschak Mugzach
ddress space. > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Lionel B Dyck > Sent: Monday, November 4, 2019 12:00 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Improving the performance of an ISPF app using OMVS

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-04 Thread Steve Austin
12:00 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Improving the performance of an ISPF app using OMVS services (bpxwunix) Thanks for the education. Guess I need to find a faster system  Lionel B. Dyck < Website: http://www.lbdsoftware.com "Worry more about your character than your re

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-04 Thread Lionel B Dyck
age- From: IBM Mainframe Discussion List On Behalf Of ITschak Mugzach Sent: Monday, November 4, 2019 5:52 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Improving the performance of an ISPF app using OMVS services (bpxwunix) No. the fork is a unix issue. the first shell task will be started a

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-04 Thread ITschak Mugzach
tation. Character is what > you are, reputation merely what others think you are." - John Wooden > > -Original Message- > From: IBM Mainframe Discussion List On Behalf > Of ITschak Mugzach > Sent: Monday, November 4, 2019 5:36 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Sub

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-04 Thread Lionel B Dyck
- John Wooden -Original Message- From: IBM Mainframe Discussion List On Behalf Of ITschak Mugzach Sent: Monday, November 4, 2019 5:36 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Improving the performance of an ISPF app using OMVS services (bpxwunix) That's because _BPX_SHAREDAS is related to

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-04 Thread Lionel B Dyck
putation. Character is what you are, reputation merely what others think you are." - John Wooden -Original Message- From: IBM Mainframe Discussion List On Behalf Of ITschak Mugzach Sent: Monday, November 4, 2019 5:25 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Improving the performance o

Re: Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-04 Thread ITschak Mugzach
Lionel, The secret is that zPDT systems are not heavily loaded. As you load the system (or start mot guests, if running under z/vm), the system starts to slow down. BPXWUNIX starts a new address space, so by definition it is more cpu consuming, that affects elapse. ITschak On Mon, Nov 4, 2019

Improving the performance of an ISPF app using OMVS services (bpxwunix)

2019-11-04 Thread Lionel B Dyck
Are there any hints/tips to improve the performance of an ISPF application that uses BPXWUNIX? In running on my normal system the performance is very slow compared to a friends system running on a zPDT. I couldn't find a SHARE presentation (but I may not have used the correct keywords) and