# \#natural-mainframe

**URL:** https://techcommunity.softwareag.com/tag/natural-mainframe/1382.md

[Latest](https://techcommunity.softwareag.com/latest.md) · [Categories](https://techcommunity.softwareag.com/categories.md) · [Tags](https://techcommunity.softwareag.com/tags.md)

---

## [Error issued in READ loop: NAT3021 An invalid CID value was detected (Subcode 1)](https://techcommunity.softwareag.com/t/error-issued-in-read-loop-nat3021-an-invalid-cid-value-was-detected-subcode-1/282884)

<div class="topic-metadata">

**Author:** [@Priscilla\_G\_Souza](https://techcommunity.softwareag.com/u/Priscilla_G_Souza)\
**Replies:** 7\
**Last updated:** [September 5, 2023, 5:57pm UTC](https://techcommunity.softwareag.com/t/error-issued-in-read-loop-nat3021-an-invalid-cid-value-was-detected-subcode-1/282884 "2023-09-05T17:57:19Z")

</div>

\*\*Hello! I’m having an error that couldn’t understand much. Already searched about it and saw 1 topic here in the forum, but I didn’t understand it much either. I have the following natural program structure: #SP-A-INI …

---

## [HEXADECIMAL conversion to 'understandable' format](https://techcommunity.softwareag.com/t/hexadecimal-conversion-to-understandable-format/278203)

<div class="topic-metadata">

**Author:** [@Priscilla\_G\_Souza](https://techcommunity.softwareag.com/u/Priscilla_G_Souza)\
**Replies:** 4\
**Last updated:** [May 3, 2023, 8:00pm UTC](https://techcommunity.softwareag.com/t/hexadecimal-conversion-to-understandable-format/278203 "2023-05-03T20:00:41Z")

</div>

Hello. I’m trying to display the conversion of hex constants in an understandable format. For example, in the documentation there are: H’313233’ hexadecimal constant is equal to ‘123’ H’414243’ hexadecimal constant is e…

---

## [Discovering final date given an initial date and quantity of days](https://techcommunity.softwareag.com/t/discovering-final-date-given-an-initial-date-and-quantity-of-days/265591)

<div class="topic-metadata">

**Author:** [@Priscilla\_G\_Souza](https://techcommunity.softwareag.com/u/Priscilla_G_Souza)\
**Replies:** 3\
**Last updated:** [November 4, 2022, 2:58pm UTC](https://techcommunity.softwareag.com/t/discovering-final-date-given-an-initial-date-and-quantity-of-days/265591 "2022-11-04T14:58:14Z")

</div>

Hi! Is it possible to obtain the end date given a start date and a number of days? And vice versa: get a start date giving an end date and an amount of days? PS: dates are in numeric format (N08) in this sequence YYYYMMD…

---

## [Find with superdescriptor limiting range](https://techcommunity.softwareag.com/t/find-with-superdescriptor-limiting-range/265034)

<div class="topic-metadata">

**Author:** [@Priscilla\_G\_Souza](https://techcommunity.softwareag.com/u/Priscilla_G_Souza)\
**Replies:** 1\
**Last updated:** [October 21, 2022, 9:04pm UTC](https://techcommunity.softwareag.com/t/find-with-superdescriptor-limiting-range/265034 "2022-10-21T21:04:00Z")

</div>

Hi! I have a problem. I need to retrieve records within a range. I’m using a super descriptor in a FIND and limiting the range with start and end values, as follows: 1 #SUPER-1-START (A05) 2 #FLAG-1-ST (A01) …

---

## [AT BREAK behaviour doubt](https://techcommunity.softwareag.com/t/at-break-behaviour-doubt/263980)

<div class="topic-metadata">

**Author:** [@Priscilla\_G\_Souza](https://techcommunity.softwareag.com/u/Priscilla_G_Souza)\
**Replies:** 4\
**Last updated:** [September 22, 2022, 7:45pm UTC](https://techcommunity.softwareag.com/t/at-break-behaviour-doubt/263980 "2022-09-22T19:45:02Z")

</div>

Hello! I’m using AT BREAK in a code, and at somepoint, it’s behaviour is not making sense. AT BREAK block statements execute when the value checked is different from the previous one read. But in my code, when the 7th re…

---

## [Compare date in numeric variables](https://techcommunity.softwareag.com/t/compare-date-in-numeric-variables/263913)

<div class="topic-metadata">

**Author:** [@Priscilla\_G\_Souza](https://techcommunity.softwareag.com/u/Priscilla_G_Souza)\
**Replies:** 5\
**Last updated:** [September 21, 2022, 1:35pm UTC](https://techcommunity.softwareag.com/t/compare-date-in-numeric-variables/263913 "2022-09-21T13:35:20Z")

</div>

Hello! What is the best and the most correct way to discover the latest data comparing 2 datas contained in numeric variables (N8) in format YYYYMMDD? Ex: I tried this, but I don’t know if this has ‘flaws’.. 1 DATA-1 (…

---

## [Is it possible to check for more than 1 value in a EXAMINE SUBSTRING?](https://techcommunity.softwareag.com/t/is-it-possible-to-check-for-more-than-1-value-in-a-examine-substring/263580)

<div class="topic-metadata">

**Author:** [@Priscilla\_G\_Souza](https://techcommunity.softwareag.com/u/Priscilla_G_Souza)\
**Replies:** 2\
**Last updated:** [September 13, 2022, 5:12am UTC](https://techcommunity.softwareag.com/t/is-it-possible-to-check-for-more-than-1-value-in-a-examine-substring/263580 "2022-09-13T05:12:32Z")

</div>

Hi. Is it possible to check for more than one value in a EXAMINE SUBSTRING? For example: this code below tests if the first position of the variable #REGISTER-CODE is equal ‘S’ only. EXAMINE SUBSTRING (#REGISTER-CODE, 1…

---

## [How to obtain the amount of digits filled in a NUMERIC field?](https://techcommunity.softwareag.com/t/how-to-obtain-the-amount-of-digits-filled-in-a-numeric-field/263572)

<div class="topic-metadata">

**Author:** [@Priscilla\_G\_Souza](https://techcommunity.softwareag.com/u/Priscilla_G_Souza)\
**Replies:** 11\
**Last updated:** [September 12, 2022, 10:21pm UTC](https://techcommunity.softwareag.com/t/how-to-obtain-the-amount-of-digits-filled-in-a-numeric-field/263572 "2022-09-12T22:21:16Z")

</div>

Hello! How to obtain the amount of digits filled in a NUMERIC field? My necessity is to check if a numeric variable defined with size 17 is fully filled (contain 17 numbers, not less than this). I’ve already tried 2 thin…
