# Issue with Selection Box parameter in Extended Field Editing

**URL:** <https://techcommunity.softwareag.com/t/issue-with-selection-box-parameter-in-extended-field-editing/171212>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-News-and-General-Topics\
**Created:** [May 21, 2013, 4:11pm UTC](https://techcommunity.softwareag.com/t/issue-with-selection-box-parameter-in-extended-field-editing/171212 "2013-05-21T16:11:17Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joseph\_Tharakan](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joseph\_Tharakan](https://techcommunity.softwareag.com/u/Joseph_Tharakan)\
**Post date:** [May 21, 2013, 4:11pm UTC](https://techcommunity.softwareag.com/t/issue-with-selection-box-parameter-in-extended-field-editing/171212/1 "2013-05-21T16:11:17Z")

</div>

When I tried the Selection Box parameter for the first time, The following error occured

NAT0937 WRONG ARRAY DEFINED IN PARAM. 1

1 #SB-1 (A2/1:6) CONST\<‘A1’,‘A2’,‘A3’,‘A4’,‘A5’,‘A6’\>  
was defined in the program that called the INPUT USING MAP statement

AD= MDLT\_\_\_\_\_\_ ZP= SG= HE= ‘JOSH-TI1’\_\_\_\_\_\_\_\_\_\_\_ RLS 0  
AL= \_\_\_\_\_ CD= \_\_ CV= MOD DATA  
PM= \_\_ DF= DY= \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_   
EM= \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ SB= #SB-1(\*)\_\_\_\_

This is the way I defined in the extended field editing . Could anyone help me out in this?

---

<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:** [May 21, 2013, 5:15pm UTC](https://techcommunity.softwareag.com/t/issue-with-selection-box-parameter-in-extended-field-editing/171212/2 "2013-05-21T17:15:32Z")

</div>

Hi Joseph,  
Apparently, you did not specify your willing to have just 6 values; as such, your map assumes you want to have 10 occurrences (default).

To change this, you would have to go into Parameter Definition and change that 10 to 6 - that`s all:-)  
Best of luck,  
NK

11:11:48 Field and Variable Definitions - Summary 2013-05-

Cmd Field Name (Truncated) Mod Format Ar Ru Lin C  
\_\_\_ #SB\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ U A2 2

±-------------------------- PARAMETER DEFINITIONS --------------------------  
| Cmd Name of Parameter (Truncated) Format Ar  
| \_\_ #SB-1\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ A2\_\_\_\_\_\_\_\_\_ Array  
| \_\_ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_\_\_\_  
| \_\_ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_\_\_\_  
| \_\_ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_\_\_\_  
| \_\_ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_\_\_\_  
| \_\_ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_\_\_\_  
| \_\_ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_\_\_\_  
| \_\_ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_\_\_\_  
| \_\_ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_\_\_\_\_  
|  
±---------------------------------------------------------------------------  
Enter-PF1—PF2—PF3—PF4—PF5—PF6—PF7—PF8—PF9—PF10–PF11–PF12-  
Help Mset Exit – Parm Local Let

---

<div class="post-metadata">

**Author:** ![Joseph\_Tharakan](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joseph\_Tharakan](https://techcommunity.softwareag.com/u/Joseph_Tharakan)\
**Post date:** [May 22, 2013, 5:34am UTC](https://techcommunity.softwareag.com/t/issue-with-selection-box-parameter-in-extended-field-editing/171212/3 "2013-05-22T05:34:11Z")

</div>

> [@](#):
>
> To change this, you would have to go into Parameter Definition and change that 10 to 6

But where I need to change in Parameter definitions I didnt find the place . Please help me out :?

---

<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:** [May 22, 2013, 9:33am UTC](https://techcommunity.softwareag.com/t/issue-with-selection-box-parameter-in-extended-field-editing/171212/4 "2013-05-22T09:33:01Z")

</div>

From option D on the map editor menu you select Parameters via PF9 or PF10.

(Or something like that. Sorry, haven’t been on a mainframe much in the last few years.)

---

<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:** [May 22, 2013, 3:01pm UTC](https://techcommunity.softwareag.com/t/issue-with-selection-box-parameter-in-extended-field-editing/171212/5 "2013-05-22T15:01:35Z")

</div>

Ralph is absolutely right - as always, by the way 🙂  
Joseph, you just have to follow his instructions:

1. Hit “D” on this screen

Command ===\>

1. then - PF9 (Parm)

Cmd Field Name (Truncated) Mod Format Ar Ru Lin Col  
\_\_\_ #SB\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ U A2 2 5

Enter-PF1—PF2—PF3—PF4—PF5—PF6—PF7—PF8—PF9—PF10–PF11–PF12—  
Help Mset Exit – Parm Local Let

---

<div class="post-metadata">

**Author:** ![Joseph\_Tharakan](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joseph\_Tharakan](https://techcommunity.softwareag.com/u/Joseph_Tharakan)\
**Post date:** [May 22, 2013, 3:12pm UTC](https://techcommunity.softwareag.com/t/issue-with-selection-box-parameter-in-extended-field-editing/171212/6 "2013-05-22T15:12:05Z")

</div>

Yea I already reached the parameter definition screen. But there in that screen I coudidnt know the place where I can enter 6 instead of 10.

---

<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:** [May 22, 2013, 3:55pm UTC](https://techcommunity.softwareag.com/t/issue-with-selection-box-parameter-in-extended-field-editing/171212/7 "2013-05-22T15:55:20Z")

</div>

Hi Joseph,  
Just hit “A” on that last screen and change 10 to 6.

```
                         PARAMETER DEFINITIONS

```

Cmd Name of Param ARRAY DIMENSIONS at Ar  
A\_#SB-1\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_ A  
\_\_ \_\_\_\_\_\_\_\_\_\_\_\_\_ Name #SB-1 \_\_\_\_\_\_\_

* * *

\_\_ \_\_\_\_\_\_\_\_\_\_\_\_\_ Dimension 1 Lower Bnds Upper Bnds \_\_\_\_\_\_\_

* * *

\_\_ \_\_\_\_\_\_\_\_\_\_\_\_\_ 1. Index 1\_\_\_\_\_\_\_\_\_\_ : 10\_\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_  
\_\_ \_\_\_\_\_\_\_\_\_\_\_\_\_ 2. Index \_\_\_\_\_\_\_\_\_\_\_ : \_\_\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_  
\_\_ \_\_\_\_\_\_\_\_\_\_\_\_\_ 3. Index \_\_\_\_\_\_\_\_\_\_\_ : \_\_\_\_\_\_\_\_\_\_\_ \_\_\_\_\_\_\_

* * *

---

<div class="post-metadata">

**Author:** ![Joseph\_Tharakan](https://avatars.discourse-cdn.com/v4/letter/j/7feea3/32.png) [@Joseph\_Tharakan](https://techcommunity.softwareag.com/u/Joseph_Tharakan)\
**Post date:** [May 23, 2013, 6:51am UTC](https://techcommunity.softwareag.com/t/issue-with-selection-box-parameter-in-extended-field-editing/171212/8 "2013-05-23T06:51:37Z")

</div>

Thanks Nicholay for helping me in this. Also could you please provide me with a list of commands that can be used there other than A

---

<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:** [May 23, 2013, 7:08am UTC](https://techcommunity.softwareag.com/t/issue-with-selection-box-parameter-in-extended-field-editing/171212/9 "2013-05-23T07:08:13Z")

</div>

Help text is commonly available throughout Natural’s Integrated Development Environment (IDE). To invoke help, place the cursor on a field and press PF1, or type a question mark (?) in the first position of a modifiable field an press ENTER.

Help should be available via any field in the Cmd column.

---

<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:** [May 23, 2013, 4:01pm UTC](https://techcommunity.softwareag.com/t/issue-with-selection-box-parameter-in-extended-field-editing/171212/10 "2013-05-23T16:01:53Z")

</div>

Could not disagree less with Ralph; moreover (this is my personal opinion 🙂 while reading HELP system, one may discover a lot about many things (and sometimes even much more than he/she were initially looking for 🙂

And this is the HELP reaction, Joseph, on my “PF1” key:

* * *

09:55:36 Field and Variable Definitions - Summary 2013-05-2

Cmd Field Name (Truncated) Mod Format Ar Ru Lin Co  
\_\_\_ #SB\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ U A2 2

Cmd Explanation

. Exit  
– Top  
A Define array  
E Edit map field  
Prr Process. rule  
D Delete field

* * *

Help in Natural is very-very good in my opinion; practically, it is just like “…ask - and you shall receive”  
as such, just THINK about HELP before asking another question 🙂  
Best of luck,  
Nikolay

---

<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, 3:28pm UTC](https://techcommunity.softwareag.com/t/issue-with-selection-box-parameter-in-extended-field-editing/171212/11 "2021-04-02T15:28:51Z")

</div>


