# Using List expanded

**URL:** <https://techcommunity.softwareag.com/t/using-list-expanded/95684>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [December 15, 2010, 6:33pm UTC](https://techcommunity.softwareag.com/t/using-list-expanded/95684 "2010-12-15T18:33:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hezi](https://avatars.discourse-cdn.com/v4/letter/h/a5b964/32.png) [@Hezi](https://techcommunity.softwareag.com/u/Hezi)\
**Post date:** [December 15, 2010, 6:33pm UTC](https://techcommunity.softwareag.com/t/using-list-expanded/95684/1 "2010-12-15T18:33:54Z")

</div>

Hi,

How can I use these system commands in batch :

List Expanded  
List dir  
list formated

Thanks Hezi

---

<div class="post-metadata">

**Author:** ![Nikolay\_Kuhta](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@Nikolay\_Kuhta](https://techcommunity.softwareag.com/u/Nikolay_Kuhta)\
**Post date:** [December 15, 2010, 7:55pm UTC](https://techcommunity.softwareag.com/t/using-list-expanded/95684/2 "2010-12-15T19:55:11Z")

</div>

Hi Hezi,

According to HELP (NATURAL 4.2 on z/OS), the LIST command may be used as follows:

Syntax:

```
      LIST object-type object-name-range
                                object-type object-name options
                                object-name-range range-options
             SEQUENTIAL object-type object-name-range options
             DIRECTORY object-name-range
             EXTENDED extended-type object-name-range
             NOCOPT extended-type object-name-range
             OPTIONS extended-type object-name-range
             DDM ddm-name

```

I think you should give more info about the environment you`re working in.  
Best regards,  
Nikolay

---

<div class="post-metadata">

**Author:** ![Hezi](https://avatars.discourse-cdn.com/v4/letter/h/a5b964/32.png) [@Hezi](https://techcommunity.softwareag.com/u/Hezi)\
**Post date:** [December 15, 2010, 7:58pm UTC](https://techcommunity.softwareag.com/t/using-list-expanded/95684/3 "2010-12-15T19:58:21Z")

</div>

I am using Nat 3.1.6

---

<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:** [April 2, 2021, 2:59pm UTC](https://techcommunity.softwareag.com/t/using-list-expanded/95684/4 "2021-04-02T14:59:32Z")

</div>


