> For the complete documentation index, see [llms.txt](https://docs.avoautomation.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avoautomation.com/avo-assure/avo-assure-supported-technologies-for-automation/mainframe-automation/creating-element-repository-for-mainframe.md).

# Creating Element Repository for Mainframe

For Mainframe automation, elements cannot be captured directly as it works based on coordinates. Instead, create the elements manually and add the corresponding coordinates for each element. These coordinates are used to identify and interact with screen components during execution.&#x20;

To create element repository and elements for mainframe, perform the following actions:&#x20;

1. On the **Home** page, from **Projects** list, select required project.&#x20;
2. Select **Design Studio**.&#x20;
3. On the **Element Repository** page, select folder and then select ellipses (**...**) icon.&#x20;
4. Select **Create Element Repository** and **Mainframe** as application type.&#x20;
5. Rename the element repository.&#x20;
6. Select **Add Element**.&#x20;
7. Under **Name** column, enter element name.&#x20;
8. Under **X,Y-Coordinate** column, enter the x and y co-ordinate from the mainframe emulator.&#x20;

{% hint style="info" %}
**Note**: The first value represents the **X-coordinate**, and the value after the semicolon represents the **Y-coordinate**.
{% endhint %}

![](/files/Tj6wOtecFY0Sodxr4SHh)

9. Select **Save** to save the element repository.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.avoautomation.com/avo-assure/avo-assure-supported-technologies-for-automation/mainframe-automation/creating-element-repository-for-mainframe.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
