Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this page:

Table of Contents

By default, I2I adds Environment name in sentBy field in the header of the extract file like this:

Code Block
languagexml
<sentBy>http://www.eagleinvsys.com/QA15R2LN</sentBy>

But if for some reason this behavior does not suit you, the Environment name displayed can be either changed or removed from extract completely.

On this page

Table of Contents
Warning

sentBy is extracted by default only for I2I. If you are extracting data not using I2I, this element is not extracted by default and you should use UseSentBy=Y in the RTR

UseSentBy Parameter

Enabled by default for I2I
When set to N, it disables the logic which adds Environment name in sentBy field in the header of the extract file
Valid values: Y

...

(default) or N 

Code Block
languagexml
<taskParameter>
   <name>UseSentBy</name>
   <dataType>S</dataType>
   <value>N</value>
</taskParameter>

HubSentBy Parameter

...

HubSentBy determines the custom Environment name after the http://www.eagleinvsys.com/ prefix for a specific extract.

Info

HubSentBy requires UseSentBy set to Y.

For example,

Code Block
languagexml
<taskParameter>
   <name>HubSentBy</name>
   <dataType>S</dataType>
   

...

<value>MYENVVALUE</value>
</taskParameter>

constructs the following sentBy element in extract:

Code Block
languagexml
<sentBy>http://www.eagleinvsys.com/

...

MYENVVALUE</sentBy>

Use Cases

Retrieve the data from the DB

Enable the UseSentBy parameter with a value of Y

Code Block
languagexml
<taskParameter>
   <name>UseSentBy</name>
   <dataType>S</dataType>
   <value>Y</value>
</taskParameter>

Specify the value to be returned (Pass through)

Enable the UseSentBy parameter with a value of Y

Send the desired value in the HubSentBy parameter

Code Block
languagexml
<taskParameter>
   <name>HubSentBy</name>
   <dataType>S</dataType>
   <value>MYVALUE</value>
</taskParameter>
<taskParameter>
   <name>UseSentBy</name>
   <dataType>S</dataType>
   <value>Y</value>
</taskParameter>

...

If you want to use this value for all extracts in this environment, you can use its global variant in the w_config_custom.

...

Modify the w_config_custom.inc setting the EnvironmentName with a defined value

inc file:

Code Block
languagexml
<COL TAG="EnvironmentName

...

"

...

Enable the UseSentBy parameter with a value of Y

...

languagexml

...

 

...

Once applied, Option 1 will no longer be available as the EnvironmentName specified will always be returned

Sample:

...

EXPRESSION="'MYENVVALUE

...

'"/>

...

Once executed appearing in the output

...