-096   VARIABLE variable-name DOES NOT EXIST OR IS NOT SUPPORTED BY THE SERVER AND A DEFAULT VALUE WAS NOT PROVIDED

Explanation

The GETVARIABLE function was invoked for variable variable-name. However, a value does not exist for a variable with that name, and a default value was not provided.
  • If the qualifier is SESSION, a user-defined variable with name variable-name has not been set.
  • If the qualifier is SYSIBM, the server does not support a built-in session variable with name variable-name.

System action

The statement cannot be processed.

Programmer response

Change the invocation of the function to specify a default value for variable-name, or change the name of to a variable that is supported at the server.

SQLSTATE

42704