Itschak, Looks like you want _BPX_SHAREAS=YES.
But note: "If the extended attribute for the shared address space is not set, the program will not run in a shared address space, regardless of the setting of _BPX_SHAREAS. The attribute is set by extattr +s and reset by extattr -s. If the attribute is set, _BPX_SHAREAS has precedence." Joe On Mon, May 30, 2022 at 7:53 AM Itschak Mugzach < [email protected]> wrote: > Kirk, > > A rexx exec is processing a file system. First call to bpxbatch perform ls > looping on the directories listed in the root to look for specific files > (ignore the logix, it was dictated by a uniprocessor and a mixture of > software). > I noticed that every call to unix creates (or starts) a shadow STC to > process the command. My assumption is that the way it works affects elapse, > and maybe, cpu consumption. I want the program to be as efficient as > possible. > > so, to summarize: > > - The Program is a (tso) rexx running unix commands. > - Using the default shell of the user. > - I want to eliminate the STC, or keep it for the life of the exec. > - The quoted statement relates to the fact that I assume it is less > effective to run unix outside of the address space. > > ITschak > > > *| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere > Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux > and IBM I **| * > > *|* *Email**: [email protected] **|* *Mob**: +972 522 986404 **|* > *Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il **|* > > > > > > On Mon, May 30, 2022 at 3:41 PM Kirk Wolf <[email protected]> wrote: > > > I would need more information: > > > > - By "the command" do you mean a z/OS Unix shell command? > > > > - Why exactly do you want BPXBATCH? > > > > - Do you want another STC for each "command", or is that what you don't > > want? > > > > - Do you need the z/OS Unix shell itself, or is it OK to run the command > > without a shell? > > > > - What language is your program developed in? > > > > - I don't understand this: > > "I want to use the same time used to create a new stc every call and that > > the unix task will remain active the entire job life" > > > > Kirk Wolf > > Dovetailed Technologies > > > > On Sun, May 29, 2022, at 8:00 AM, ITschak Mugzach wrote: > > > I am running a program that calls BPXBATCH several times. Each call > > creates > > > another task (STC) that runs the command. I want to use the same time > > used > > > to create a new stc every call and that the unix task will remain > active > > > the entire job life. Is this possible? > > > > > > ITschak > > > > > > ITschak Mugzach > > > *|** IronSphere Platform* *|* *Information Security Continuous > Monitoring > > > for z/OS, x/Linux & IBM I **| z/VM coming soon * > > > > > > ---------------------------------------------------------------------- > > > For IBM-MAIN subscribe / signoff / archive access instructions, > > > send email to [email protected] with the message: INFO IBM-MAIN > > > > > > > Kirk Wolf > > Dovetailed Technologies > > http://dovetail.com > > > > ---------------------------------------------------------------------- > > For IBM-MAIN subscribe / signoff / archive access instructions, > > send email to [email protected] with the message: INFO IBM-MAIN > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
