My Oracle Support Banner

How to Give Dynamic Path in the IRule for Data File (Doc ID 2092215.1)

Last updated on OCTOBER 31, 2022

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.5.0.0.0 to 7.5.0.0.0 [Release 7.5.0]
Information in this document applies to any platform.

Goal

Requirement :

*  Depending on various conditions, environments etc., path to the data file used in an iRule should be picked from environment variable.
*  So is there any way to give dynamic path in the iRule for the data file, using the value defined in the environment variable ?

 

Example :

In an iRule file:

RULE: SetBIDforLAC
SOURCE: File
FILE: ${CUSTOM_ISCRIPTS}/IRL_SetBIDforLAC.data

If the "CUSTOM_ISCRIPTS" has value "/usr/cust/lib" it should get appended as:

RULE: SetBIDforLAC
SOURCE: File
FILE: /usr/cust/lib/IRL_SetBIDforLAC.data

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.