# how to list a program into a file?

**URL:** <https://techcommunity.softwareag.com/t/how-to-list-a-program-into-a-file/60869>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [April 25, 2006, 7:40pm UTC](https://techcommunity.softwareag.com/t/how-to-list-a-program-into-a-file/60869 "2006-04-25T19:40:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [April 25, 2006, 7:40pm UTC](https://techcommunity.softwareag.com/t/how-to-list-a-program-into-a-file/60869/1 "2006-04-25T19:40:32Z")

</div>

Hi all,

How i do to create a jod to list the prograns of my library into a file?

---

<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:** [April 25, 2006, 10:04pm UTC](https://techcommunity.softwareag.com/t/how-to-list-a-program-into-a-file/60869/2 "2006-04-25T22:04:40Z")

</div>

Use Natural’s LIST command to print the selected modules. In your JCL, point the CMPRINT DDname to a file.

Can’t say more without specifics, such as your operating system or details of the problem you’re facing.

---

<div class="post-metadata">

**Author:** ![Douglas\_Kelly](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/douglas_kelly/32/102_2.png) [@Douglas\_Kelly](https://techcommunity.softwareag.com/u/Douglas_Kelly)\
**Post date:** [April 26, 2006, 1:00am UTC](https://techcommunity.softwareag.com/t/how-to-list-a-program-into-a-file/60869/3 "2006-04-26T01:00:32Z")

</div>

If you have EntireX Communicator with Natural IDL Generator, you can use the “View Code” function to download program source, suitable for saving, pasting and framing. 😉

---

<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:40pm UTC](https://techcommunity.softwareag.com/t/how-to-list-a-program-into-a-file/60869/4 "2021-04-02T14:40:36Z")

</div>


