UNLOCK Statement Purpose: To release locks that have been applied to an opened file. This is used in a multi-device environment, often referred to as a network or network environment. Syntax: UNLOCK [ # ] n [,[ record number ] [ TO record number ]] Comments: n is the number that was assigned the file as it was originally numbered in the program. record number is the number of the individual record that is to be unlocked. Or, if a range of records are to be unlocked, record number designates the beginning and ending record of the specified range. The range of legal record numbers is 1 to 2 32 -1. The limit on record size is 32767 bytes. The record range specified must be from lower to (the same or) higher record numbers. If a starting record number is not specified, the record number 1 is assumed. If an ending record number is not specified, then only the specified record is unlocked. The following are legal UNLOCK statements: UNLOCK # n unlocks the entire file n UNLOCK # n , X unlo...