On Fri, 2 Dec 2016 17:02:10 -0700, Alan Young wrote:
>
>Are you starting TSO with the tso or tsocmd shell commands or by some
>other means? If you are using the shell command, maybe you can (ab)use
>
Actually, logging in with a 3270.  Believe it or not, that's still supported.

>the TSOALLOC allocation option to allocate a CEEOPTS DD that points to a
>file/dataset with the statements and see if it is honored.
>
But if I'm starting from a shell, TZ is presumably set, and will be inherited
by child processes, and there's no need to go through the CEEOPTS
mickeymouse.  I think.

On Fri, 2 Dec 2016 17:56:16 -0600, Kirk Wolf wrote:

>Why slippery?   In Unix/Linux, all processes inherit their environment from
>the init process.
>All you would need to do is to customize /etc/init.options and z/OS would
>behave the same so that blind-dubbed processes would have a reasonable
>starting environment variable set.
>
Ah!  You're absolutely right.  SYSCALL psent shows just one process, my
dubbed TSO process, and its parent is init (1).

But what about my co-workers in Australia?  How can they, if they choose,
set TZ for their TSO process to something other than that in /etc/init.options
as they can do in ~/.profile for shell processes.

The documentation in:
 z/OS 2.1.0
z/OS Language Environment
z/OS Language Environment Programming Reference
Language Environment runtime options
Using the Language Environment runtime options
ENVAR 
is dreadful!  It says:
    ...
Is specified as name=value, where name and value are sequences of characters 
that do not contain null bytes or equal signs. The string name is an 
environment variable, and value is its value.

Blanks are significant in both the name= and the value characters. You can 
enclose string in either single or double quotation marks to distinguish it 
from other strings. You can specify multiple environment variables, separating 
the name=value pairs with commas. Quotation marks are required when specifying 
multiple variables.

It does not say how to code values that may contain quotation marks or 
apostrophes.

I tried one.  At startup, an error message flashes by and vanishes, too fast to 
read.

-- gil

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

Reply via email to