Oracle Error Message
PLS-00741: string must be specified on subprogram string’s declaration and definition
Reason for the Error
A property was specified on a subprogram’s declaration but not on its definition or vice-versa.
Solution
Certain subprogram properties (e.g., RESULT_CACHE) must be specified as part of the subprogram declaration and definition. For example, if the property RESULT_CACHE is specified on a subprogram declared in a package specification, then it must also be specified on the subprogram’s definition in the package body (and vice-versa).