To be technical, /bin/sh isn't "_BPX_SHAREAS" aware.   It uses spawn()
rather than fork()/exec() in many cases.
When using spawn(), _BPX_SHAREAS controls whether a local spawn is down.

The best documentation on _BPX_SHAREAS is in the z/OS Unix Assembler
Callable Services Guide - under BPX1SPN.

AFAIK, tcsh doesn't use spawn(), so it can't local spawn processes into the
same AS.   I don't think that this is explicityly documented...maybe open a
ETR if you want confirmation.

It sounds like your problem with /bin/sh is with terminfo/termcap setup ?

If you have configured your default shell to be tcsh, you can run a batch
job with COZBATCH using a login /bin/sh shell -

// EXEC PGM=COZBATCH,PARM='//bin/sh -L'  (first slash is LEOPT sep)
//STDIN DD *
...

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

PS> I use "Gnome Terminal" from my linux desktop with ssh for my z/OS shell
sessions, and it works fine for me.    I would love to have a modern bash
port for z/OS, but without lots of porting work it would suffer the same
problem as tcsh.

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

Reply via email to