| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Display Record Locks (DSPRCDLCK) command allows you to show the current record lock status of a particular database physical file member. This command displays the lock status for a particular relative record number, or the lock status of all locked records in the member.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| FILE | Physical file | Qualified object name | Required, Positional 1 |
| Qualifier 1: Physical file | Name | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
| MBR | Member | Name, *FIRST | Optional, Positional 2 |
| RCDNBR | Record number | 1-4294967288, *ALL | Optional, Positional 3 |
| OUTPUT | Output | Optional |
| Top |
Specifies the physical file that contains the member whose record locks are shown.
This is a required parameter.
Qualifier 1: Physical file
Qualifier 2: Library
| Top |
Specifies the member in the file whose record locks are shown.
| Top |
Specifies a particular relative record number or all records of a member.
| Top |
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
| Top |
DSPRCDLCK FILE(MASTER/PAYROLL) MBR(*FIRST) RCDNBR(1)
OUTPUT(*)
This command shows the lock status of relative record number 1, in the first member of the physical file named PAYROLL in the MASTER library.
| Top |
*ESCAPE Messages
| Top |