Last updated on AUGUST 15, 2013
Applies to:PL/SQL - Version 126.96.36.199 and later
Information in this document applies to any platform.
***Checked for relevance on 15-Aug-2013***
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
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms