# Login to Mainframe

This is pre-built Action located under the Mainframe List Element. It instructs the Avo Assure Client to login to the Mainframe Region using userID and password.

### Syntax

**Input:** `<Region>;<UserID>; <Password>` &#x20;

{% hint style="info" %}
***Note:** In mainframe systems, a **Region** refers to a logical partition or environment, like a CICS region, that manages specific resources or transaction workloads.*\
\&#xNAN;***UserID** and **password** are provided by the administration.*
{% endhint %}

**Output:** `<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)` &#x20;

<figure><img src="/files/adH2lFpxkTflfMRhjw47" alt=""><figcaption></figcaption></figure>

### Usecase/Example

<figure><img src="/files/PpfsHaqzxzhQR6Roi9UU" alt=""><figcaption></figcaption></figure>

### Scenario:  Automating Mainframe Login with Credentials

Consider a scenario where automating a mainframe application involves logging in to the system. With the **Log in to mainframe** action, logging in with credentials becomes a straightforward process.

### **Input**

CICS1;MATESG;SKL259

### **Expected Result**

This Action needs to log in with Credential to the mainframe application. &#x20;

### **Output**

The **Log in to mainframe** action performed successfully.


---

# Agent Instructions: 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:

```
GET https://docs.avoautomation.com/avo-assure/actions/mainframe/login-to-mainframe.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
