How to fix the Oracle error PCC-02370: An EXEC TOOLS MESSAGE host variable is not type char?

In this post, you’ll learn more about the Oracle ErrorPCC-02370: An EXEC TOOLS MESSAGE host variable is not type char with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

PCC-02370: An EXEC TOOLS MESSAGE host variable is not type char

Reason for the Error PCC-02370: An EXEC TOOLS MESSAGE host variable is not type char

Cause: f a host variable is used to define a context name in an EXEC TOOLS GET CONTEXT or EXEC TOOLS SET CONTEXT statement, that host variable must be of a character type.

How to fix the Error PCC-02370: An EXEC TOOLS MESSAGE host variable is not type char ?

You can fix this error in Oracle by following the below steps

Action: Declare the message to a host variable of a char type.

Tags :

Leave Your Comment