INVRQSRM (invalid request)
- Purpose
- A request can be invalid for one of the following reasons:
- There is conflict with a user-specified attribute of the file, such as:
- The function issues a request to delete a record from a non-delete-capable
file.
- The function violates the access intents specified when the file was opened.
- The requester attempted to delete a file that is the base file for some
alternate index files.
- The requested function is supported by the access method but not by the
file class to which the access method is opened.
- A DDMSetKeyLimits function was issued for a file that was created with
keys such that all parts of the key are not ascending.
- A DDM_ALLREC bit was set on a DDMSetNextRec, DDMSetPrevious, DDMSetFirst,
or DDMSetLast function for a direct file.
- An alternate index file was specified as the base file of an alternate
index file on the DDMCreateAltIndex function.
- The value of LowKeyLim is after the value of HiKeyLim on a DDMSetKeyLimits
function.
- An attempt was made to delete or clear a protected file.
- A DDMTruncFile function:
- For file opened for read only (GETAI, but not MODAI)
- For a read-only-file (GETCP, but not MODCP).
- The requester attempted to create an alternate index file with a path
qualifier that was different than the path qualifier of the base file.
- Code Point
- The code point for this term is X'123C'.
- 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:
- 8
- Error Severity Code
- 16
- Severe Error Severity Code
- CSRPOSST
- Cursor position status
- Code point is X'115B'.
- Returned.
- DTALCKST
- Data lock status
- Code point is X'115C'.
- Returned.
- FILNAM
- File name
- Code point is X'110E'.
- Returned.
- RECCNT
- Record count
- Code point is X'111A'.
- Minimum value is 0.
- Information is returned if available.
- SRVDGN
- Server diagnostic information
- Code point is X'1153'.
- Information is returned if available.
- Enumerated value(s) for this parameter:
- 15
- The file is protected.