BI Publisher (MOSC)

MOSC Banner

Questions regarding $_XDOCTX

edited Jun 27, 2018 12:06PM in BI Publisher (MOSC) 1 commentAnswered ✓

Hi, experts

I have some questions regarding $_XDOCTX in below document.

-----

Oracle Business Intelligence Publisher User's Guide Release 10.1.3.2 Part Number B40017-01

Creating an RTF Template

   Using Variables

-----

The understanding of sentence below:

==

The $_XDOCTX specifies the global document context for the variables.

In a multi-threaded environment there may be many transformations occurring at the same time,

therefore the variable must be assigned to a single transformation.

==

[Questions]

1. May I consider the understanding below is correct?

   execute in transformation1: set_variable($_XDOCTX, 'x', 1)

   Then

   execute in transformation2: set_variable($_XDOCTX, 'x', 2)

   Then

   execute in transformation1: get_variable($_XDOCTX, 'x')

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