I'm a it fuzzy about _BPX_SHAREAS=YES and if it is working (or not)

I have a shell script(s2) which prints out the pid, and parent pid.
I call this from another script  s1.
The output from
_BPX_SHAREAS=YES sh s1
_BPX_SHAREAS=NO sh s1
Both print the same parent, so it looks like it is having no effect.

On the other hand when Zowe is started, I can see several address spaces
start, run, and quickly end, and I want to make them run as shared and
avoid this overhead.  Can I find out why a different address space was used?

The doc for BPX1SPN gives reasons why  _BPX_SHAREAS=YES is not honoured,
including *If the program to be run is a set-user-ID or set-group-ID
program that would cause the effective user-ID or group-ID of the child
process to be different from that of the parent process.  *What is a
"*set-user-ID
program" *... and how does spawn know!

Am I missing something?

Colin

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

Reply via email to