EASA may drive a batch mode software application.
Batch mode uses input files instead of interactive inputs, EASA uses a single input file as a template to allow dynamically change values prior to the 'EASAP run'.
All batch files, whether used dynamically as a template or static need to be uploaded onto the EASA Server and into the EASAP folder using EASA→Author-mode→Authoring→Files the Files tab in the Builder.
To create a template from an existing batch file, edit the file by inserting percent delimited object references ('DORS') at the relevant locations within these files.
When editing template batch files, replace any full paths with local paths (eg. replace C:\Test\run.bat with .\run.bat)
EASA contains a tool called the Template Editor that is designed to simplify the process of adding DORs into text files, such as template batch files. In addition to adding delimited object references to files, the Template Editor can also be used like a text editor to type in other changes to the file.
The Template Editor is accessed by clicking on one of the Open Template Editor buttons () or by selecting Template Editor under the EASA > Authoring, and then by clicking on one of the Edit buttons (
) within the ‘Template Files’ table. When you click on an Edit button, the Template Editor will appear in a separate window as shown below.
Basic functions expected within a text file editor are present in the form of both menu picks under the File and Edit menus and as buttons on the editor’s toolbar. Descriptions of the individual buttons on the toolbar are provided in Table 12.2.
Icon | Name | Function |
---|---|---|
![]() | Save File | Saves current version of the file. CTRL-s |
![]() | Refresh File | Refreshes the display of delimited object references in the file. |
![]() | Undo | Un-does last action. Multiple undo’s allowed. |
![]() | Redo | Re-does last action. Multiple redo’s allowed. |
![]() | Cut | Cuts the selected text. CTRL-x |
![]() | Copy | Copies the selected text. CTRL-c |
![]() | Paste | Pastes the previously cut or copied text. CTRL-v |
![]() | Find | Finds typed in text within file. CTRL-f |
![]() | Select DORs | Selects all delimited object references containing typed text within file. |
![]() | Goto Line Number | Positions cursor at beginning of typed line number. CTRL-g |
![]() | Filter DOR List | Shows only objects in DOR List matching search string entered |
![]() | Reset DOR List | Resets display in DOR List to all available objects |
![]() | Insert DOR | Inserts a DOR in the selected file location for the selected object in the DOR List |
![]() | Remove DOR | Removes the selected DOR from the file and replaces it with the original value |
![]() | DOR Name View | Displays DORs as bold colored object names |
![]() | DOR Value View | Displays DORs as bold colored values of the objects |
![]() | DOR Text View | Displays the full syntax of DORs in the file |
![]() | Format DOR | Sets the number format for the selected DOR |
Some important menu functions not provided in the toolbar are:
The Save function always writes over the previous version of the file.
Adding a DOR The main purpose of the Template Editor is to add DORs to text files. The process for adding a DOR is as follows:
For certain types of objects, e.g. COMPUTE, the Unit Group parameter must be set to a DIMENSIONAL GROUP, in order for a unit to be specified in a DOR of the object.
The EASA Text File Editor is a basic file editor that is accessed by clicking on one of the Edit buttons () within the ‘Current Files’ table found on the Files page under the EASA > Authoring. This text editor can be used as an alternative to the Template Editor. However, you will need to take care to type in the proper syntax for any DORs inserted into a file. When you click on an Edit button, the editor will appear in a separate window as shown below.
Basic functions expected within a text file editor are present in the form of both menu picks under the File and Edit menus and as buttons on the editor’s toolbar. Descriptions of the individual buttons on the toolbar are provided in the table below.
Icon | Name | Function |
---|---|---|
![]() | Save File | Saves current version of the file. CTRL-s |
![]() | Reload File | Reloads the last saved version of the file. CTRL-r |
![]() | Undo | Un-does last action. Multiple undo’s allowed. CTRL-z |
![]() | Redo |