Parameter list for validation routines

At invocation, registers are set, and the validation routine uses the standard exit parameter list (EXPL).

Begin program-specific programming interface information.

The following diagram shows how the parameter list points to other information.

Figure 1. How a validation parameter list points to information. The address of the nth column description is given by: RFMTAFLD + (n-1)*(FFMTE-FFMT).
Begin figure description. The validation parameter list points to information. End figure description.

The following table shows the exit-specific parameter list, described by macro DSNDRVAL.

Table 1. Parameter list for a validation routine
Name Hex offset Data type Description
  0 Signed 4-byte integer Reserved
RVALROW 4 Address Address of a row description.
  8 Signed 4-byte integer Reserved
RVALROWL C Signed 4-byte integer Length of the input row to be validated
RVALROWP 10 Address Address of the input row to be validated
  14 Signed 4-byte integer Reserved
  18 Signed 4-byte integer Reserved
RVALPLAN 1C Character, 8 bytes Name of the plan issuing the request
RVALOPER 24 Unsigned 1-byte integer Code identifying the operation being performed, as follows:
1
Insert, update, or load
2
Delete
RVALFL1 25 Character, 1 byte The high-order bit is on if the requester has installation SYSADM authority. The remaining 7 bits are reserved.
RVALCSTC 26 Character, 2 bytes Connection system type code. Values are defined in macro DSNDCSTC.
End program-specific programming interface information.