DDS for display files


LOCK (Lock) keyword for display files

Use this record-level keyword to specify that the keyboard is to remain locked after an output operation. Normally, the keyboard automatically unlocks after an output operation. The LOCK keyword is used when there are several consecutive output operations that contain input fields.

This keyword has no parameters.

If this keyword is not specified, the workstation user could key data into a field when a subsequent output operation sends data to the display. In this case, the cursor location could be changed and the key entry data lost.

Note:
The default on an output operation is to unlock the keyboard. If the keyboard is locked when an input operation is sent, it is automatically unlocked.

This keyword is independent of other keywords that affect the output operation.

Option indicators are valid for this keyword.

Example:

The following example shows how to specify the LOCK keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00011A          R REC1                      LOCK
     A


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]