DDS for display files


INZRCD (Initialize Record) keyword for display files

Use this record-level keyword to specify that if this record is not already on the display, it is to be written to the display before an input operation is sent from the program specifying this record name. If this record is already on the display, the keyword is ignored. The performance of this implicit output operation is OS/400-program-initiated; its only purpose is to format the display when an input operation is performed.

This keyword has no parameters.

This keyword does not apply to output operations.

If the INZRCD keyword is not specified, your program receives an error if it tries to read a record that is not on the display.

When the INZRCD keyword is processed, the following special conditions exist:

Note:
In order for the INZRCD function to be performed, your program must specify a record format name when issuing an input operation that contains this keyword. The record format used for the input operation must specify the INZRCD keyword.

Option indicators are not valid for this keyword.

Example:

The following example shows how to specify the INZRCD keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00274A          R REC4                      INZRCD
     A


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