# Log off from Mainframe

This is prebuilt action in Avo Assure which is located under Mainframe list. It instructs the Avo Assure Client to log off from the Mainframe application.

### **Syntax**

**Input:** `<Number>`

{% hint style="info" %}
**Note:** It allows only numerical value.

Following are Number functions:

1\.      Prints the data set and Logoff. (Not recommended)

2\.      Delete the dataset and Logoff.

3\.      Keep the existing dataset and Logoff.

4\.      Keep the new dataset and Logoff.
{% endhint %}

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

<figure><img src="/files/827gQFGttTFinRVWxdCS" alt=""><figcaption></figcaption></figure>

### Usecase/Example

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

### **Scenario:** Log Off from Mainframe Application to Ensure Security.

Consider a scenario where a mainframe application is being used, and there is a need to log off from the application. The Log off from mainframe action is used by Avo Assure. After completing tasks in the mainframe application, the Log Off from mainframe action is initiated by selecting the Log Off option or typing the log-off command. It confirms that the system logs off from the mainframe application. It ensures security by closing access to the system.

### **Input**

2

### **Expected Result**

The action needs to log off from the Mainframe application

### **Output**

The action performed using second number functions to log off from mainframe applications.


---

# 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/log-off-from-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.
