On 23Oct05:0616-0400, David Cole wrote:

> To all of you who responded to my query, I thank you.
> 
> Unfortunately (well, fortunately actually) I'm on the verge of leaving for
> vacation for the month (Viking cruise, Istanbul to Venice), so I won't get a
> chance to go over everything until November.
> 
> But all y'all have given me a lot to look at.
> 
> Thank you!
> Dave

Nobody has pointed out environment variables are a component
of the POSIX definition; thus, for the MVS universe it was
only intended to be what was needed for POSIX certification
and is so only available within USS.  Until Dave introduced
this topic, noone apparently had ever worried about this.

Second, any POSIX programmer will tell you environment
variables are process-specific.  When a shell spawns a
subshell process, it creates the new process' environment
variables by cloning its own and then modifying the clone
as needed.  The subshell has no access to the parent's
environment variables by design, nor does the parent have
access to the subshell's environment variables after it
has been started.
-- 
<not cent from sell>
May the LORD God bless you exceedingly abundantly!

Dave_Craig______________________________________________
"So the universe is not quite as you thought it was.
 You'd better rearrange your beliefs, then.
 Because you certainly can't rearrange the universe."
__--from_Nightfall_by_Asimov/Silverberg_________________

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

Reply via email to