LOCKDD REXX Sample
Purpose
The NTR.MSG file is locked whenever the NTRACE.OS2 driver is loaded.
Since this loads at boot time (in CONFIG.SYS), this file is not replaceable
outside of boot time, unless the system is rebooted with the NTRACE.OS2
removed. IBM provides tools to assist with locked file handling.
One tool is the IBM LAN Locked File Device Driver. LOCKDD is
a useful, working example of how to use IBM's LAN Locked File Device Driver
(IBMLANLK.SYS and its associated IBMLANLK.EXE). It may be used without
change, or it may be modified to suit a particular installation.
This is a sample REXX program which is provided AS IS. It is NOT
a supported component of the Network Trace product.
LOCKDD will create the "list file" which is used for input to
the IBMLANLK. It will also edit the CONFIG.SYS to add the appropriate
lines. These line MUST be added after the HPFS IFS statements. LOCKDD
is HARD CODED to look for HPFS. In addition, these lines must
be inserted before the lines in CONFIG.SYS which lock the files in question.
Usage
The following documents the command syntax:
© 2000 Golden
Code Development Corporation. ALL RIGHTS RESERVED