Reads an INI file
This component mounts to retrieve INI file
Parameters
INI file path: the directory and the name of the INI file that you want to read
The INI file is like that:
[PARAM_SRV]
Server_source=SRVMA01
Create row
Create a row with 
Create a variable
- Create a variable like “section” with a value corresponding to the section of the INI file: PARAM_SRV
- Create a variable like ‘key” with a value corresponding to the key of the INI file: Server_source
Launch the treatment
Then you select the variable:
- "section" in the column Section
- "key" in the column Key
Now you can launch the treatment:
Results
The result is available in the following variables:
- INI_EXISTS_0 indicate if the INI variable was found
- INI_VAL_0 contain the value of the variable INI
Syntax
To use these variables you must respect following syntax:
{Treatment name.INI_EXISTS_0} and {Treatment name.INI_VAL_0}
Example:
{Read INI file.INI_VAL_0}
{ Read INI file.INI_EXISTS_0}
Variables Calculation
After reading INI variable you can use a Variable Calculation treatment to set the properties {Read INI file.INI_VAL_0} and { Read INI file.INI_EXISTS_0} in another variables:
Get the world's favorite Script generator at http://www.paseosoft.com/