When Passing Parameters With Properties in EXTPROC Fails With ORA-28576 ORA-06525
(Doc ID 119761.1)
Last updated on AUGUST 28, 2017
Applies to:PL/SQL - Version 22.214.171.124 and later
Information in this document applies to any platform.
***Checked for relevance on 24-Aug-2017***
Some common errors using extproc are discussed with examples, specifically with passing parameters from pl/sql to external procedures and their mapping to host language variables.
You are calling an external procedure passing some 'IN' and some 'IN OUT' parameters while specifying some additional properties such as LENGTH, MAXLEN, etc. for them. You are using LENGTH, MAXLEN to store current length and maximum
length of a formal parameter, and INDICATOR to indicate if a parameter is null.
You get following errors:
1. ORA-28576: Lost RPC connection to external procedure agent.
2. ORA-06525: Length Mismatch for CHAR or RAW data
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!