Thanks for the link I found it useful and interesting. As to why I used 
syscall('off'), the doc I worked from said it was not usually necessary, rather 
than not recommended, so it seemed tidier to do so. I'll certainly remove it. 
Incidentally the problem only manifested when I switched from _BPX_SHAREAS=NO 
to _BPX_SHAREAS=MUST/REUSE/YES.  From the description it sounds like REUSE is 
what I should use. 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Paul Gilmartin
Sent: Monday, October 8, 2018 2:57 PM
To: [email protected]
Subject: Re: using REXX to spawn a Java program

On Mon, 8 Oct 2018 08:11:51 +0000, Steve Austin wrote:

>I have some questions regarding the above.
>
>I'm specifying an environment variable of "_BPX_SHAREAS=MUST". Before each 
>spawn of the Java program I have a "syscalls('on') and after a 
>"syscalls("off"). I'm noticing a significant delay at the "syscalls('off'); it 
>can be as much as 2 minutes. If I remove the "syscalls('off')" I don't get the 
>delay.
>
"Doctor, it hurts when I do this.   "

Why do you use SYSCALLS("OFF")?  It's not recommended:

    http://www2.marist.edu/htbin/wlvtype?MVS-OE.35369

    Date:         Mon, 2 Jun 2003 20:08:28 -0400
    From:         William Schoen <[email protected]>
    Subject:      Re: SYSCALLS() Query?
 
    I do not recommend using sycalls 'OFF'.  It may clean up more than you want
    yet not everything from syscalls 'ON'. 

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
[email protected] with the message: INFO IBM-MAIN

-- 
This e-mail message has been scanned and cleared by Google Message Security 
and the UNICOM Global security systems. This message is for the named 
person's use only. If you receive this message in error, please delete it 
and notify the sender. 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to