The '''[[Using Staging Area Generator | generation]]''' of an IMSMA staging area needs human interaction. However, there might be the requirement to re-generate the staging area regularly, in order to have an up-to-date reporting database. It is possible to automatize the staging area generation by following these steps:
<ol>
<li>In the ''C:\IMSMAETLTool '' folder, create a .bat script named for example '''runStagingArea.bat''' with the following content:
<pre>
cd C:\IMSMAETLTool
</pre>
</li>
<li>Edit the properties file C'':\IMSMAETLTool\conf\config.PROPERTIES '' by specifying the required values for all the parameters (they correspond to the ones from the graphical user interface described '''[[Using Staging Area Generator | here]]'''). If a parameter should not be used, e.g. '''script_file''', then comment it by placing a # at the beginning of the line:
<pre>
conversion_language=en
<li>Next, refine recurrence criteria (e.g. time of the day) and click '''Next'''.</li>
<li>In the next window, select '''Start a Program''' and click '''Next'''.</li>
<li>Browser to the previously created script, e.g. ''C:\IMSMAETLTool\runStagingArea.bat''. Click '''Next''' and then '''Finish'''.</li>
</ol>
</li>