Security

Chris Sharman Chris.Sharman@ccagroup.co.uk
Wed, 19 Jan 2000 09:51:49 +0000


>The environment variables are OK generally but you have to be careful.  I
>have not had any success setting a variable in one PH program and then using
>it another under HP/UX and in VMS only logicals in the JOB table seem to be
>robust; symbols don't work well.

VMS symbols/logicals are all "robust", but you need to understand the
environment:

Process logicals & symbols work well within the process (but note hyphens
aren't allowed in symbol names). For a subprocess (ie RUN COMMAND, SPAWN, etc),
only job logicals are shared, but process logicals and symbols are copied from
the parent to the subprocess when it is spawned. This gives rise to symbols &
process logicals working well the first time (ie, simple tests), but then the
subprocess is kept hanging around and is reused as necessary, and changes are
NOT copied down.

HP/UX: sounds like you need a real OS ;)

Regards,
Chris
_______________________________________________________________________
Chris.Sharman@CCAgroup.co.uk		http://www.ccastat.demon.co.uk/
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.