cobol2.hlp (Table of Contents; Topic list)
WRITELOCK (↑ Choosing Run-time Behavior)
 Key Details                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Directive:    WRITELOCK
                WRITE-LOCK
 
  Function:     Makes the WRITE and REWRITE statements acquire a record
                lock when the program is locking multiple records in a
                shared data file in a multi-user environment.
 
  Syntax:
 
     ─┬───┬─┬────┬─┬─WRITELOCK──┬─────────────
        └─/─┘ └─NO─┘ └─WRITE-LOCK─┘
 
  Parameters:   None
 
  Default:      NOWRITELOCK
 
  Phase:        Syntax check
 
  $SET:         Initial
                                    -♦-