LOGINP (Log Input) keyword for display files

You use this record-level keyword to specify that the input buffer for this record format is to be written to the job log each time the IBM® i operating system performs an input operation for the record.

The data logged includes the values of input-capable fields, hidden fields, and response indicators specified in the record format you are defining. It also includes output fields if the record format is a subfile record format. (Response indicators are not logged if the INDARA keyword is specified for the file you are defining.) This keyword is used for debugging and other exception conditions. The job log cannot be read by your program.

This keyword has no parameters.

The IBM i operating system ignores LOGINP for either of the following conditions:
  • There are no input-capable fields, no hidden fields, and no response indicators in the record format.
  • The record format is a subfile record format for a message subfile.

Option indicators are not valid for this keyword.

Example

The following example shows how to specify the LOGINP keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00072A          R REC24                     LOGINP
     A