ApatarForge
  Dashboard > ADMINISTRATION GUIDES > How to Launch Apatar or DataMap from the Command Line
  ADMINISTRATION GUIDES Log In   View a printable version of the current page.  
  How to Launch Apatar or DataMap from the Command Line
Added by Alex Khizhnyak, last edited by olga belokurskaya on Sep 25, 2009  (view change)
Labels: 
(None)

This guide will help you learn how to launch Apatar or any DataMap from the command line.

Apatar versions 1.10.0 and older allow opening Apatar application and a datamap for editing, whereas Apatar versions 1.11.1 and newer also let you type in a command for immediate execution of a datamap. Review instructions for your version of Apatar to see the list of parameters and examples of commands.

Apatar v1.11.1 and Newer
Apatar v1.10.0 and Older

Apatar v1.11.1 and Newer

Starting Apatar application


1. If you are in Apatar's main folder, just type application.bat (or application_noApex.bat if you want to start Application no Apex) and press Enter

         

2. If you are NOT in Apatar's main folder, enter the complete path to application.bat.

         

If a path to the application or datamap contains spaces in their directory names, it MUST be quoted like in the examples above.

Opening a datamap


1. If you are in Apatar's main folder and the datamap is also stored in that folder, enter application.bat "datamap=Datamap_Name.aptr".

         

2. If you are in Apatar's main folder and the datamap is stored in another folder, type in application.bat, then 'space', and then enter the complete path to the datamap in the datamap parameter.

         

3. If you are not in Apatar's main folder and Apatar application and the datamap are stored in the same folder, enter the complete path to the application.bat file, then leave a single blank space and enter a complete path to the datamap.

         

Or you can enter the complete path to the datamap instead of just the name.

         

4. If you are not in Apatar's main folder and Apatar application and the datamap are stored in different folders, enter the complete path to the application.bat file, then a space and a complete path to the datamap.

         

Executing a datamap


1. To run a datamap for execution, include immediate_run parameter to the command.

         

Once you press Enter, Apatar application will launched with the datamap you specified opened and started for processing. Once the processing is over the process window will be closed but Apatar application window will still be open.

2. To have Apatar application closed after the datamap is processed add close_after_finish parameter to the command.

         

3. If you do not want to have any Apatar windows opened while the datamap is processed, add silent_run parameter to the command.

         

For Linux

Change the working directory to the one that Apatar is unpacked to before entering parameters. The rest of the process is the same as described above for Windows.

Apatar v1.10.0 and Older

Starting Apatar application


1.If you are in Apatar's main folder, just type application.bat (or application_noApex.bat if you want to start Application no Apex)and press Enter.

         

2. If you are NOT in Apatar's main folder, enter a complete path to application.bat.

         

Opening a datamap

1. If you are in Apatar's main folder and the datamap is also stored in that folder, enter application.bat Datamap_Name.aptr.

         

2. If you are in Apatar's main folder and the datamap is stored in another folder, enter application.bat, then leave a single blank space, and then enter a complete path to the datamap.

         

3. If you are not in Apatar's main folder, enter a complete path to the application.bat file, then a space and a complete path to the datamap.

         

If a path to the application or datamap contains spaces in their directory names, it MUST be quoted like in the examples above.


For Linux

Change the working directory to the one that Apatar is unpacked to before entering parameters. The rest of the process is the same as described above for Windows.

Site running on a free Atlassian Confluence Open Source Project License granted to Apatar Data Integration (ETL). Evaluate Confluence today.
Contact Administrators