# IDL Grammer on unbounded array

**URL:** <https://techcommunity.softwareag.com/t/idl-grammer-on-unbounded-array/74931>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [July 3, 2007, 8:31am UTC](https://techcommunity.softwareag.com/t/idl-grammer-on-unbounded-array/74931 "2007-07-03T08:31:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roland1](https://avatars.discourse-cdn.com/v4/letter/r/57b2e6/32.png) [@Roland1](https://techcommunity.softwareag.com/u/Roland1)\
**Post date:** [July 3, 2007, 8:31am UTC](https://techcommunity.softwareag.com/t/idl-grammer-on-unbounded-array/74931/1 "2007-07-03T08:31:24Z")

</div>

Hi,

In the EntireX communicator v7.3.2 documentation, section Software AG IDL Grammer - Array Definition, it has the following statement on unbounded arrays.

> [@](#):
>
> ```
> Unbounded arrays are not supported in all programming languages.
> 
> See Mapping Fixed and Unbounded Arrays on how unbounded arrays are mapped to the target programming language (Java, C, COBOL, PL/I, .NET).
> 
> ```

On the other hand, in the documentation of Natural v6.2.3, section Natural RPC Restrictions and Limitations, it states that

[quote]  
Variable Arrays in Subprograms

If the parameter data area of the subprogram contains a variable number of occurrences (

---

<div class="post-metadata">

**Author:** ![Rolf\_Bahlke](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/rolf_bahlke/32/109_2.png) [@Rolf\_Bahlke](https://techcommunity.softwareag.com/u/Rolf_Bahlke)\
**Post date:** [July 19, 2007, 8:35pm UTC](https://techcommunity.softwareag.com/t/idl-grammer-on-unbounded-array/74931/2 "2007-07-19T20:35:47Z")

</div>

> [@Roland](#):
>
> Questions:
> 
> 1. How to interpret the above two statements? Are they in contradiction?
> 
> 2. Variable array is in this context same as unbounded array?
> 
> 3. Can IDL- Unbounded array be mapped in Java & Natural?

1. No.
2. What is called “Unbounded arrays” in EntireX corresponds to “X-arrays” in Natural. Arrays in Natural using the

---

<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:** [July 21, 2007, 3:58am UTC](https://techcommunity.softwareag.com/t/idl-grammer-on-unbounded-array/74931/3 "2007-07-21T03:58:19Z")

</div>

1. this is a bit awkward: the X-Array is defined to Natural with the 1:\* notation, but is represented in the IDL as 1:V

---

<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/idl-grammer-on-unbounded-array/74931/4 "2021-04-02T14:48:30Z")

</div>


