contents.gifindex.gifprev1.gifnext1.gif

A.5.3.1 Before you run ACUCOBOL-GT programs on the NeXT

Currently, the NeXT machine does not support record locking, so we provide a special program called lockserver that enables record locking in ACUCOBOL-GT programs.

To avoid record locking problems, start lockserver before you run ACUCOBOL-GT programs. The easiest way to do this is to change the startup script so that lockserver starts every time you boot the machine.

Edit the file /etc/rc.local and add the following lines:

if [ -f  /<pathname>/lockserver ]; then
         /<pathname>/lockserver &
         (echo -n `lockserver') >/dev/console
fi

where <pathname> is the full pathname of lockserver.

As an alternative, if you want to start the program manually from the UNIX command line, type:

nohup lockserver >& lockserver.log & (from C shell)

nohup lockserver > lockserver.log 2>&1 & (from Bourne shell)