[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_SETEOJ()
SetEndOfJobStatus
------------------------------------------------------------------------------
Syntax
fn_setEOJ( [ <lEnable> ] ) -> lPreviousEOJStatus
Arguments
<lEnable> is a logical indicating whether the shell should
automatically set the End Of Job (EOJ) when control returns to the
the root COMMAND.COM (or when all processes end). If omitted,
the default is .T. (set EOJ).
Returns
The status of the EOJ flag prior to this function call.
Description
Whenever control is returned to COMMAND.COM from a process or
application, the shell will attempt to determine if control has
been returned to the root COMMAND.COM (the one started by DOS at
bootup time). If so, the shell assumes all processes and
applications have terminated, so sends an EOJ command to the
server that will release all file server resources allocated to
the workstation (open files, physical and logical locks, semphores,
etc.).
This function allows an application to enable or disable the
generation of the EOJ command when control returns the the root
COMMAND.COM.
Source: N:\SRC\CONNWS\EOJ.PRG
Author: Steve Larsen
See Also:
fn_EOJ()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson