# Is there any way to use DB2 Cursor in Natural (MainFrame)

**URL:** <https://techcommunity.softwareag.com/t/is-there-any-way-to-use-db2-cursor-in-natural-mainframe/75836>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [December 10, 2007, 8:06pm UTC](https://techcommunity.softwareag.com/t/is-there-any-way-to-use-db2-cursor-in-natural-mainframe/75836 "2007-12-10T20:06:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JSK](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@JSK](https://techcommunity.softwareag.com/u/JSK)\
**Post date:** [December 10, 2007, 8:06pm UTC](https://techcommunity.softwareag.com/t/is-there-any-way-to-use-db2-cursor-in-natural-mainframe/75836/1 "2007-12-10T20:06:01Z")

</div>

Hello Experts,

I am extremely new to this Natural Community and too this Software.  
I am not sure whether I can ask this type of Technical Stuff.

In DB2 we have the concept of using cursor while receiving more than single rows as output from a select query. Is there any way in Natural using DB2 Database in Mainframe to implement this?I have seen some codes using select and end-select. So will Natural Internally adjust according to the Rows retrieved

Please correct me If I am wrong

Thanks In advance for your Time !  
JSK

---

<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:48pm UTC](https://techcommunity.softwareag.com/t/is-there-any-way-to-use-db2-cursor-in-natural-mainframe/75836/2 "2021-04-02T14:48:59Z")

</div>


