Security

Robert J.M. Edis robert.edis@creatcomp.com
Wed, 19 Jan 2000 10:58:39 -0500


I KNOW I need a real OS Chris.  I have to work in whatever environment
'they' pay me to work in. :(  Trying to edit with Vi after using Eve for so
many years is a real downer.  

I think I understand what you are saying about process logicals.  However,
most of my use in VMS of logics has been to either:

Capture a piece of data in QUICK, put it in a logical, run QTP or Quiz
program via a DCL script that 'reads' the logical value an dthen returns to
Quick.  This 'usually' works with a process level logical, but not always.
Part of the problem is running the QTP or Quiz process from DCL rather than
directly from Quick.

Run an external process (e.g. C, DCL, COBOL, etc.) that sets an environment
variable that gets read by the Quick screen to determine success or failure
of the external process.  A process level logical or a symbol will not work
in this case.  

In both cases above, a JOB table logical will always work and I would call
it 'robust' or reliable. :)

Blue

-----Original Message-----
From: Chris Sharman
To: robert.edis@creatcomp.com
Cc: Chris.Sharman@ccagroup.co.uk; powerh-l@lists.swau.edu
Sent: 1/19/00 4:51 AM
Subject: RE: Security

>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.