PL/SQL (MOSC)

MOSC Banner

How do we normally write PLSQL code that uses env variables?

edited Nov 12, 2009 8:13AM in PL/SQL (MOSC) 3 commentsAnswered
IHAC (11i E-Business suite, but this is a rather generic question) that would like to know how Oracle accesses the values of the environment variables like AP_TOP, AR_TOP, APPLCSF etc. in PL/SQL code because they want to avoid hardcoding paths in PL/SQL blocks.  How does Oracle's standard code get the values that are assigned to environment variables like AP_TOP, AR_TOP, APPLCSF etc. in a PL/SQL block ?  They are currently using DBMS_SYSTEM.GET_ENV to achieve this, but for that they have to put the custom variables in custom$CONTEXT_NAME.env in the RDBMS ORACLE_HOME. 

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center