FRCDTA (Force Data) Keyword for Display Files

Use this record-level keyword to display a record format immediately, without waiting for the next input or input/output operation. When the buffer is partially full, the FRCDTA keyword can be used to clear the buffer.

Note:
If this keyword is used after each write statement, performance problems will occur.

This keyword has no parameters.

When this keyword is in effect for a record format, the record format is displayed as if you had specified DFRWRT(*NO) on the Create Display File (CRTDSPF) command or the Change Display File (CHGDSPF) command.

You can use this keyword when DFRWRT(*YES) is in effect for the display file and your program does several output operations before doing an input operation. With DFRWRT(*YES) specified, none of the record formats is displayed until the input operation. There might be a long delay for the work station user while the program completes its processing. You can specify FRCDTA for a record format that is displayed first. This record format tells the work station user that the delay is normal. For a step-by-step description, see the example below.

FRCDTA can be specified once for each record format.

Option indicators are valid for this keyword.