# DFILESTAT, output to an XML-formatted DSN

**URL:** <https://techcommunity.softwareag.com/t/dfilestat-output-to-an-xml-formatted-dsn/275328>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-on-Mainframes\
**Created:** [February 28, 2023, 6:40pm UTC](https://techcommunity.softwareag.com/t/dfilestat-output-to-an-xml-formatted-dsn/275328 "2023-02-28T18:40:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fernando\_Zarazua\_Vilchis1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/fernando_zarazua_vilchis1/32/852_2.png) [@Fernando\_Zarazua\_Vilchis1](https://techcommunity.softwareag.com/u/Fernando_Zarazua_Vilchis1)\
**Post date:** [February 28, 2023, 6:40pm UTC](https://techcommunity.softwareag.com/t/dfilestat-output-to-an-xml-formatted-dsn/275328/1 "2023-02-28T18:40:08Z")

</div>

ADABAS V 8.5 SP3,

MAINFRAME IBM. SO Z/OS 2.1

JCL ADADBS OPERCOM DFILESTAT

Hello community, I am using the ADADBS OPERCOM DFILESTAT command, I execute it manually through a JCL, since I am generating daily statistics of the commands used by each ADABAS file, the purpose is to eliminate ADABAS files that are not used. I want to run the JCL automatically through JOBTRAC, but I want the JCL to generate an output work file in XML format, does anyone have an idea to achieve this?

THANK YOU TEAM

FERNANDO ZARAZUA VILCHIS

---

<div class="post-metadata">

**Author:** ![Ralph\_Zbrog](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/ralph_zbrog/32/78_2.png) [@Ralph\_Zbrog](https://techcommunity.softwareag.com/u/Ralph_Zbrog)\
**Post date:** [February 28, 2023, 7:21pm UTC](https://techcommunity.softwareag.com/t/dfilestat-output-to-an-xml-formatted-dsn/275328/2 "2023-02-28T19:21:54Z")

</div>

I believe the XML option for report output is available only for ADAREP.

---

<div class="post-metadata">

**Author:** ![Fernando\_Zarazua\_Vilchis1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/fernando_zarazua_vilchis1/32/852_2.png) [@Fernando\_Zarazua\_Vilchis1](https://techcommunity.softwareag.com/u/Fernando_Zarazua_Vilchis1)\
**Post date:** [February 28, 2023, 7:36pm UTC](https://techcommunity.softwareag.com/t/dfilestat-output-to-an-xml-formatted-dsn/275328/3 "2023-02-28T19:36:54Z")

</div>

Hi Ralph, that’s correct, only ADAREP has output for XML files. but DFILESTAT is not available.

Thanks you

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [August 27, 2023, 7:37pm UTC](https://techcommunity.softwareag.com/t/dfilestat-output-to-an-xml-formatted-dsn/275328/4 "2023-08-27T19:37:24Z")

</div>

Closed on August 27, 2023, 7:37pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
