On Mon, 12 Mar 2018 17:59:35 -0400, Don Poitras wrote: > > Try: >LAA (PSA+0x4B8)->LCA->CAA->EDB->env var ptr array, ends with null ptr. > Since different processes spawned with _BPX_SHAREAS=YES may be executing concurrently in the same address space, but with different environment variables, how does this keep the env var ptr arrays separate.
I have come to believe that "environment variables" is a misnomer; the array is just another array of pointers passed to exec()/spawn(). It appears that if a program is compile/linked in Enhanced ASCII mode, the environment variable array is translated (by spawn()/exec()?) to ASCII. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN