DSNA667I csect-name AN ERROR WAS ENCOUNTERED WHEN ADDING OR DELETING THE environment-name HOST COMMAND ENVIRONMENT USING function-name. ACTION=action-type. RC=return-code.

Explanation

A Db2 stored procedure attempted to add or delete a host command environment, but the host command environment add or delete failed.

csect-name
The name of the control section that issued the message.
environment-name
The name of the host command environment: DSNREXX or SDSF.
function-name
The function that was invoked: RXSUBCOM or ISFCALLS.
action-type
The action that was specified: ADD or DELETE.
return-code
A numeric value that provides information about the failure. This return code is issued by the host command environment.

If function-name is RXSUBCOM and return-code is 40, RXSUBCOM found an error in the parameter list passed to it, such as too many or too few parameters.

System action

Processing terminates.

Programmer response

Review the return code information for the host command environment and take the indicated action.