ENDFILRM (end of file)

Purpose
It is not possible to retrieve a record that is outside the BOF, EOF, or some specified file limit with the following functions:
Function
Limits
DDMSetNextRec
Always the last and first record positions, respectively, in the file.
DDMSetPrevious
Always the last and first record positions, respectively, in the file.
DDMSetKeyPrevious
The first record, in key sequence, of the file.
DDMSetKeyNext
The last record, in key sequence, of the file, or the high key limit established by a DDMSetKeyLimits function.
DDMSetNextKeyEqual
The last record (in key sequence) of the file, the high key limit established by a DDMSetKeyLimits function, or the key value specified by the KEYVAL parameter on the DDMSetNextKeyEqual function.
Code Point
The code point for this term is X'120B'.
Structure
See Reply message structure for the general structure of reply message data.
Parameter
Description
SVRCOD
Severity code
  • Code point is X'1149'.
  • Returned.
  • Enumerated value(s) for this parameter:
    4
    Warning Severity Code
FILNAM
File name
  • Code point is X'110E'.
  • Returned.
SRVDGN
Server diagnostic information
  • Code point is X'1153'.
  • No information is returned.
Examples:
Figure 1. DDMSetNextRec ENDFILRM
A DDMSetNextRec with NODATA not set would result in an ENDFILRM
Figure 2. DDMSetKeyNext ENDFILRM
A DDMSetKeyNext command with NODATA parameter not set would result in an ENDFILRM