Forcex implements a DCL interface to the SYS$FORCEX system service. It is similar to the DCL STOP command except that instead of killing a process it tries to force the currently executing image to exit. Forcex is distributed in the following files: FORCEX.C -- the source of the program. VMS.H -- an include file of useful VMC C programming definitions. FORCEX.CLD -- the DCL command definition. FORCEX.HLP -- a short help file entry. FORCEX.TXT -- this file. To build: $ CC FORCEX $ LINK FORCEX, SYS$INPUT:/OPTIONS SYS$LIBRARY:VAXCRTL/SHARE $ EOD By default, the CLD file expects the image to be either in SYS$SYSTEM or that there is a logical name FORCEX that points to the image. To add FORCEX to the current process command set: $ DEFINE A location-of-FORCEX.EXE $ SET COMMAND A:FORCEX $ DEFINE FORCEX A:FORCEX.EXE To make FORCEX a permanent resource: $ DEFINE A location-of-FORCEX.EXE $ SET COMMAND/TABLE=SYS$LIBRARY:DCLTABLES.EXE- /OUTPUT=SYS$LIBRARY:DCLTABLES.EXE - A:FORCEX $ COPY/LOG A:FORCEX.EXE SYS$SYSTEM:FORCEX.EXE/PROTECTION=WO:E $ INSTALL = "$INSTALL/COMMAND_MODE" $ INSTALL REPLACE SYS$LIBRARY:DCLTABLES.EXE +-------------------------+-------------------------------------+ |M. Erik Husby | I live the life I love | |Member, Technical Staff | And I love the life I live. W.Dixon | +-------------------------+-------------------------------------+ |Access Technology, Inc. | Voice: (508)655-9191 | |2 Natick Executive Park | FAX: (508)655-7772 | |Natick, MA 01760 | EasyPlex: 70003,5200 | | | Internet: 70003.5200@compuserve.com | | | DECUServe: EISNER::HUSBY | +-------------------------+-------------------------------------+