Oracle Error PLS-00254: OUT and IN/OUT modes cannot be used in this context

Oracle Error Message

PLS-00254: OUT and IN/OUT modes cannot be used in this context

Reason for the Error

actual parameter mode (OUT, or IN/OUT) is not used properly in USING clause. For USING clause in an OPEN statement, only IN mode is allowed.

Solution

change the parameter mode in the USING clause to an appropriate mode.