# Difference between GET and GET SAME??

**URL:** <https://techcommunity.softwareag.com/t/difference-between-get-and-get-same/60908>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [May 3, 2006, 3:53pm UTC](https://techcommunity.softwareag.com/t/difference-between-get-and-get-same/60908 "2006-05-03T15:53:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahul\_mf](https://avatars.discourse-cdn.com/v4/letter/r/f08c70/32.png) [@rahul\_mf](https://techcommunity.softwareag.com/u/rahul_mf)\
**Post date:** [May 3, 2006, 3:53pm UTC](https://techcommunity.softwareag.com/t/difference-between-get-and-get-same/60908/1 "2006-05-03T15:53:53Z")

</div>

Hi all,

Can anyone explain me the difference between GET and GET SAME?

---

<div class="post-metadata">

**Author:** ![anon29934956](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@anon29934956](https://techcommunity.softwareag.com/u/anon29934956)\
**Post date:** [May 3, 2006, 3:56pm UTC](https://techcommunity.softwareag.com/t/difference-between-get-and-get-same/60908/2 "2006-05-03T15:56:10Z")

</div>

According the documentation:

> [@](#):
>
> The GET statement is used to read a record with a given Adabas Internal Sequence Number (ISN).
> 
> The GET statement does not cause a processing loop to be initiated.

> [@](#):
>
> The GET SAME statement is used to re-read the record currently being processed. It is most frequently used to obtain database array values (periodic groups or multiple-value fields) if the number and range of existing or desired occurrences was not known when the record was initially read.

Regards,  
Michael

---

<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/difference-between-get-and-get-same/60908/3 "2021-04-02T14:40:37Z")

</div>


