00E7900C

Explanation

SQL CALL statement or user-defined function invocation could not be processed. The WLM application environment name specified for the user-written routine is not defined or is currently not available for Db2 use in the active WLM policy.

System action

The SQL statement is rejected with SQLCODE -471 and this reason code.

Programmer response

Use the -ALTER PROCEDURE or -ALTER FUNCTION command to update the WLM ENVIRONMENT to specify an application environment that is defined and active in the active WLM policy, or update the WLM policy to contain a valid application environment name.

If the WLM policy definition is updated, use the MVS™ WLM VARY command to activate this new definition.

If the WLM application environment is quiesced, use the MVS WLM VARY APPLENV= applenv, RESUME command to activate the application environment.