Program Rules [ HP DeskMon: Administrator's Guide ] MPE/iX 5.0 Documentation
HP DeskMon: Administrator's Guide
Program Rules
To be included under the DeskMon check process, external applications
must:
* Be written to perform some form of check. The check need not be
related to HP DeskManager.
* If successful, the application must set a JCW defined by the
program to zero.
* If not successful, the JCW must be set to one (or higher) and a
message written to $STDLIST.
The system JCWs CIERR and JCW should not be used.
In the event of an error (such as unsuccessful, JCW non-zero) DeskMon
reports the first non-blank line that has been written to $STDLIST.
To write to $STDLIST in PASCAL use:
WRITELN(OUTPUT, ....... )
In SPL use the PRINT intrinsic.
Example Program
An example external application is supplied as a PASCAL source file:
FREESPAC.DESKMON.HPOFFICE
NOTE This is supplied as an example, and is not supported by
Hewlett-Packard.
The program checks the system free disk space for total amount and the
largest contiguous block. JCWs allow you to change the default check
values (see a listing of FREESPAC for details).
To be used, the program must be compiled. It can then be invoked from
within DeskMon at the External Application screen using the following
values:
Field - Value
-----------------------------------------------------------------------------------------
Program Name - The name of the compiled program
LIB= - S
JCW Name - FREESPACECHECK
Max execution time - 2 minutes
Check performed option - 1 (once per hour) or 2 (once per day)
MPE/iX 5.0 Documentation