# cfxdm - dm:concat

**dm:concat:** This cfxdm tag allows the user to merge two or more named datasets.

**dm:concat** synta&#x78;**:**&#x20;

* **names** (mandatory)**:** List of two or more named datasets, supports regex

{% hint style="info" %}
Please refer [**dm:save**](/rda/rda-userguide/rda-data-management-cfxdm/cfxdm-dm-save.md) and [**dm:savedlist**](/rda/rda-userguide/rda-data-management-cfxdm/cfxdm-dm-savedlist.md) tags on how to create and list named datasets.
{% endhint %}

Use [**dm:savedlist**](/rda/rda-userguide/rda-data-management-cfxdm/cfxdm-dm-savedlist.md) tag to list saved datasets

```
tag dm:savedlist
```

```
data
```

![](/files/-MW63U6ICfm6eSUgjqdF)

**Example 1:**&#x20;

From the above named datasets, merge **prtg-alerts** & **vrops-alerts** into one new named dataset using dm:concat tag

```
tag dm:concat
```

```
data names = "prtg-alerts|vrops-alerts" --> dm:save name = 'consolidated-alerts'
```

OR

```
data names = ".*.alerts|.*.alerts" --> dm:save name = 'consolidated-alerts'
```

Change the tag to **dm:savedlist** to view the newly created 'consolidated-alerts' named dataset.

```
tag dm:savedlist
```

```
data
```

![](/files/-MW65VfMafJq5b_CgkxU)


---

# 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.cloudfabrix.io/rda/rda-userguide/rda-data-management-cfxdm/cfxdm-dm-concat.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.
