The process that the REXX code is running in. So, to "see" the environment variables, the tso shell command would have to be started using address sh from the same REXX code. That is what I understood the OP to be doing but it is probably better not to assume.
Bill On Fri, 15 Sep 2006 14:20:40 -0300, Shmuel Metz (Seymour J.) <[EMAIL PROTECTED]> wrote: >In <[EMAIL PROTECTED]>, on 09/15/2006 > at 11:47 AM, Bill Lalonde <[EMAIL PROTECTED]> said: > >>If you are at a level of z/OS that supports this service, you can use >>environment() to query or set environment >>variables from Unix System Services. > >Whose environment variables? The process that the REXX code is running >in or the process that invoked it? Does the default Unix shell in z/OS >support ".cmd" for running "cmd" in the same process as the shell? > >-- > Shmuel (Seymour J.) Metz, SysProg and JOAT > ISO position; see <http://patriot.net/~shmuel/resume/brief.html> >We don't care. We don't have to care, we're Congress. >(S877: The Shut up and Eat Your spam act of 2003) > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

