VMS Process logicals in phweb
Miller, Daniel
Daniel.Miller@nightfreight.co.uk
Wed, 22 Jan 2003 16:54:15 -0000
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C2C236.E813D8B4
Content-Type: text/plain;
charset="iso-8859-1"
Hi again,
An update:
Im doing this so that a phweb screen can access a different parameter file
each time it runs, I have added the setsystemval and deletesystemval for a
file i want to reference in the screen. I have also had to add a "close"
for the file.
The other issue thats came up so far is when doing "run command" it starts a
subprocess which inherits the logical for the file. I remember this being
an issue when useing normal ph screens to run quiz and trying to pass
parameters as logicals (Use the job logical table not the process).
The dcl subprocess stays around as long as the webserver process does (so
between running the screen multiple times), but it keeps the logical from
the first time the screen ran (in the parent webserver process where the
screen seems to run the logical has changed each time). Found something
about doing run command "logout" to kill the subprocess each time, but the
dcl commands im doing dont involve the logical anyway so ive left it the way
it is.
Daniel Miller
Nightfreight
> -----Original Message-----
> From: Miller, Daniel
> Sent: Wednesday, January 22, 2003 10:24 AM
> To: Powerhouse List 3 (E-mail)
> Subject: VMS Process logicals in phweb
>
> Hi,
>
> We have a webserver on a Win 2000 machine and a dispatcher and
> phwebservers on an alpha running vms 7.3.
>
> Afaik if a webserver is busy another one starts (up to a predefined limit
> set in the administrator of course), the webservers do not handle more
> than one user at a time. I can see that each webserver is a separate
> subprocess of the dispatcher process.
>
> What i want to do is use setsystemvalue to set a process logical to use in
> the phweb screen in possibly the initialize procedure and then do a
> deletesystemvalue after. I cant see a reason why any other users should
> be able to see this process logical, does anyone think there could be a
> problem with this?
>
> tia,
>
> Daniel Miller
> Nightfreight
------_=_NextPart_001_01C2C236.E813D8B4
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2650.12">
<TITLE>RE: VMS Process logicals in phweb</TITLE>
</HEAD>
<BODY>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Hi again,</FONT>
</P>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">An update:</FONT>
</P>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Im doing this so =
that a phweb screen can access a different parameter file each time it =
runs, I have added the setsystemval and deletesystemval for a file i =
want to reference in the screen. I have also had to add a =
"close" for the file.</FONT></P>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">The other issue =
thats came up so far is when doing "run command" it starts a =
subprocess which inherits the logical for the file. I remember =
this being an issue when useing normal ph screens to run quiz and =
trying to pass parameters as logicals (Use the job logical table not =
the process).</FONT></P>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">The dcl subprocess =
stays around as long as the webserver process does (so between running =
the screen multiple times), but it keeps the logical from the first =
time the screen ran (in the parent webserver process where the screen =
seems to run the logical has changed each time). Found something =
about doing run command "logout" to kill the subprocess each =
time, but the dcl commands im doing dont involve the logical anyway so =
ive left it the way it is.</FONT></P>
<P><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Daniel Miller</FONT>
<BR><FONT COLOR=3D"#0000FF" SIZE=3D2 FACE=3D"Arial">Nightfreight</FONT>
</P>
<UL>
<P><FONT FACE=3D"Arial"></FONT> <FONT SIZE=3D1 =
FACE=3D"Tahoma">-----Original Message-----</FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"Tahoma">From: </FONT></B> <FONT =
SIZE=3D1 FACE=3D"Tahoma">Miller, Daniel </FONT>
<BR><B><FONT SIZE=3D1 FACE=3D"Tahoma">Sent: </FONT></B> =
<FONT SIZE=3D1 FACE=3D"Tahoma">Wednesday, January 22, 2003 10:24 =
AM</FONT>
<BR><B><FONT SIZE=3D1 =
FACE=3D"Tahoma">To: </FONT></B> <FONT SIZE=3D1 =
FACE=3D"Tahoma">Powerhouse List 3 (E-mail)</FONT>
<BR><B><FONT SIZE=3D1 =
FACE=3D"Tahoma">Subject: </FONT=
></B> <FONT SIZE=3D1 FACE=3D"Tahoma">VMS Process logicals in =
phweb</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Hi,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">We have a webserver on a Win 2000 =
machine and a dispatcher and phwebservers on an alpha running vms =
7.3. </FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Afaik if a webserver is busy another =
one starts (up to a predefined limit set in the administrator of =
course), the webservers do not handle more than one user at a =
time. I can see that each webserver is a separate subprocess of =
the dispatcher process.</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">What i want to do is use =
setsystemvalue to set a process logical to use in the phweb screen in =
possibly the initialize procedure and then do a deletesystemvalue =
after. I cant see a reason why any other users should be able to =
see this process logical, does anyone think there could be a problem =
with this?</FONT></P>
<P><FONT SIZE=3D2 FACE=3D"Arial">tia,</FONT>
</P>
<P><FONT SIZE=3D2 FACE=3D"Arial">Daniel Miller</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Nightfreight</FONT>
</P>
</UL>
</BODY>
</HTML>
------_=_NextPart_001_01C2C236.E813D8B4--