Hello,
I've got a question regarding file locking and the 'wholock' utility. I'm running on Solaris 10 with version
cat $COBDIR/etc/cobver
cobol v5.0.00-e
PRN=R9CTH/AAH:9l.a5.50.03
PTI=WrapPack 4 (7276.7659)
PTI=ES
PTI=Fixpack50.03_13
Process A is reading a file with fcd.LockModeFlags,FCD_LM_MANUAL. wholock shows that process A holds 0 read and 1 write lock.
Process 26709 (user1) on tty ? holds 0 read and 1 write locks
What confuses me is that while Process A holds a write lock, Process B is able to WRITE and REWRITE records on that same file with no problems. Should this be possible and can I rely on 'wholock'?
Thanks in advance for any insight or advice.
- Rich



