Setting VMS logicals from Quick

Rich `Lego-Man' Jesse - 7633 RJESSE@QTIWORLD.COM
Tue, 16 Feb 1999 10:35:59 -0600 (CST)


Allison Hamilton posted:

AH> It is perfectly legitimate to change logicals while within QUICK so long as
AH> you know what you are doing, and recognise that the RUN COMMANDs are being
AH> done in one or more subprocesses (which is why the JOB table is used, so
AH> that all subprocesses AND the parent can see the change if necessary - the
AH> parent can't see something changed in the subprocess otherwise.)  The use of

An excellent point about the use of the JOB table.  However, BEWARE!  As far as
I can tell, there is no equivalent in the Unix world, as a child process cannot
affect the environment variables of the parent process.  A few of our Quick
screens used the wonderful and flexible world of job table logicals under
OpenVMS, but we had to rethink/rewrite a few when we were (nay, when *I* was!)
forced to convert to Unix.

Of course, this point is based on the assumption that the RUN COMMAND under
Unix spawns a child process, much like the PH/OVMS counterpart's subprocess...

Rich Jesse                              Programmer/Analyst
rjesse@qtiworld.com                     Quad/Tech International, Sussex, WI USA

p.s.  Pardon my Unix jabbing.  Send flames directly to me and not the list
please!   :D
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.