Start of change

DSNT011I   program-name INPUT PARAMETERS ARE INVALID, REASON CODE = reason-code, TEXT = reason-text

Explanation

The program encountered an error when it attempted to process the input parameters that were passed to it in the PARM parameter or the SYSIN DD.

program-name
The name of the program.
reason-code and reason-text
The reason code (reason-code) describes the cause of the error, and the reason text (reason-text) provides additional information that is specific to the reason code.
reason-code = 1
The number of parameters specified is incorrect. The reason-text provides the following additional information: number-passed PARAMETERS WERE PASSED BUT number-expected PARAMETERS ARE EXPECTED, where:
number-passed
The number of parameters that were passed to the program.
number-expected
The number of parameters that were expected by the program.
reason-code = 2
A required parameter was not passed. The reason-text provides the following additional information: REQUIRED PARAMETER parameter-name WAS NOT PASSED, where:
parameter-name
The name of the parameter that was expected, but that was not provided.
reason-code = 3
An unrecognized parameter was passed. The reason-text provides the following additional information: UNRECOGNIZED PARAMETER parameter-name WAS PASSED, where:
parameter-name
The name of the parameter that was provided where it was not expected.
reason-code = 4
The value of one of the parameters is not valid. The reason-text provides the following additional information: THE VALUE FOR PARAMETER parameter-name IS NOT VALID, where:
parameter-name
The name of the parameter that is invalid where it was provided.
reason-code = 5
The routine specified in DD:SYSIN is not a valid DB2®-supplied routine. The reason-text provides the following additional information: schema.routine-name IS NOT A VALID DB2-SUPPLIED ROUTINE, where:
schema.routine-name
The name of the routine, qualified by the name of the schema in which the routine was created.
6
A parameter was specified two or more times. The reason-text provides the following additional information: PARAMETER parameter-name WAS PASSED MORE THAN ONCE.
7
The statement exceeded the maximum bytes allowed. The reason-text provides the following additional information: STATEMENT EXCEEDS number-of-bytes BYTES

System action

Processing terminates.

User response

Correct the problem and run the program again.

Severity

12 (severe error)

End of change