Thanks for the question, Abdul Rahim.
Asked: August 06, 2017 - 10:23 pm UTC
Last updated: August 07, 2017 - 9:08 pm UTC
Version: 12.1.02.0
Viewed 1000+ times
Set Up the Environment When you use the default configuration for external procedures, Oracle Database spawns extproc directly. You need not make configuration changes for listener.ora and tnsnames.ora. Define the environment variables to be used by external procedures in the file extproc.ora (located at $ORACLE_HOME/hs/admin on UNIX operating systems and at ORACLE_HOME\hs\admin on Windows), using this syntax: SET name=value (environment_variable_name value) Set the EXTPROC_DLLS environment variable, which restricts the DLLs that extproc can load, to one of these values: NULL; for example: SET EXTPROC_DLLS= This setting, the default, allows extproc to load only the DLLs that are in directory $ORACLE_HOME/bin or $ORACLE_HOME/lib. ONLY followed by a colon-separated list of DLLs; for example: SET EXTPROC_DLLS=ONLY:DLL1:DLL2 This setting allows extproc to load only the DLLs named DLL1 and DLL2. This setting provides maximum security. A colon-separated list of DLLs; for example: SET EXTPROC_DLLS=DLL1:DLL2 This setting allows extproc to load the DLLs named DLL1 and DLL2 and the DLLs that are in directory $ORACLE_HOME/bin or $ORACLE_HOME/lib. ANY; for example: SET EXTPROC_DLLS=ANY This setting allows extproc to load any DLL.
Abdul Rahim Rahim, August 07, 2017 - 10:06 pm UTC
Check out more PL/SQL tutorials on our LiveSQL tool.
PL/SQL reference manual from the Oracle documentation library