# Secure Log in to Mainframe

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

### Syntax

**Input:** `<Region>;<UserID>;<Encrypted 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 will be provided by the administration. In Avo Assure, we have a method to encrypt the password using the AES method, allowing the user to encrypt the password.*&#x20;
{% endhint %}

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

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

### Usecase/Example&#x20;

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

### Scenario:  Secure Mainframe Login with Encrypted Credentials

Consider a scenario where automating a mainframe application requires securing the login process. With the 'Secure Login to Mainframe' action, logging in using a UserID and encrypted password becomes an easy task.

### **Input**

CICS1;MATESG; iE5Iis8OjEC

### **Expected Result**

This Action needs to log in with UserID and encrypted password to the mainframe application. &#x20;

### **Output**

The “Secure 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/secure-log-in-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.
