# 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="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FjNC8ajmpXSMGF2hv69VM%2Fimage.png?alt=media&#x26;token=6fbdb606-3a16-4f6d-8ff2-34fd0617a626" alt=""><figcaption></figcaption></figure>

### Usecase/Example

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2FoFhH1VylCREioTn5Vpag%2Fimage.png?alt=media&#x26;token=22f52c5f-af07-48a7-b0cd-93fad0cde768" 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.
