# Data Area Editor

**URL:** <https://techcommunity.softwareag.com/t/data-area-editor/60465>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [January 24, 2006, 1:20pm UTC](https://techcommunity.softwareag.com/t/data-area-editor/60465 "2006-01-24T13:20:13Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Pag](https://avatars.discourse-cdn.com/v4/letter/p/eb9ed0/32.png) [@Peter\_Pag](https://techcommunity.softwareag.com/u/Peter_Pag)\
**Post date:** [January 24, 2006, 1:20pm UTC](https://techcommunity.softwareag.com/t/data-area-editor/60465/1 "2006-01-24T13:20:13Z")

</div>

Would it be possible to change the data area editor to the normal ISPF Editor? The data area editor is too restricted for experienced programmers! For example to initialize an array(1:200) you have much too much dialog steps. Mostly we have Excel tables containing these values. Then I design the inits within Excel and copy and paste the lines into the editor. This is not possible with the restricted data area editor.

Also the readability while editing is very bad! :evil:

Please, please remove this bad tool! Do no longer protect the programmers from themselfs! :twisted:

---

<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:** [January 24, 2006, 4:58pm UTC](https://techcommunity.softwareag.com/t/data-area-editor/60465/2 "2006-01-24T16:58:02Z")

</div>

I voted for this poll to check functionality and it works. Please refer to:  
[url][http://natural.forums.softwareag.com/viewtopic.php?t=215[/url]](http://natural.forums.softwareag.com/viewtopic.php?t=215%5B/url%5D)  
Please subtract my vote from this poll, I do not want to influence any votes as product manager. 🙂

Regards,  
Michael

---

<div class="post-metadata">

**Author:** ![Yehuda](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/yehuda/32/115_2.png) [@Yehuda](https://techcommunity.softwareag.com/u/Yehuda)\
**Post date:** [January 25, 2006, 5:39pm UTC](https://techcommunity.softwareag.com/t/data-area-editor/60465/3 "2006-01-25T17:39:15Z")

</div>

Seeing the results of the poll above (83% leave it as it is), I have a solution for you:

1. write a program that contains your define data that includes all your init’s from excel, etc… close the define data,add an end statment, and stow.
2. enter the data area editor and perform: .i(program-name)
3. mark “Only internally defined local variables”  
You now recieved an LDA with all the initial values and the comfort of writing(copy/paste …) in the ispf editor.  
P.S. dont forget to stow the LDA.

---

<div class="post-metadata">

**Author:** ![Peter\_Pag](https://avatars.discourse-cdn.com/v4/letter/p/eb9ed0/32.png) [@Peter\_Pag](https://techcommunity.softwareag.com/u/Peter_Pag)\
**Post date:** [January 25, 2006, 9:57pm UTC](https://techcommunity.softwareag.com/t/data-area-editor/60465/4 "2006-01-25T21:57:40Z")

</div>

Yehuda,

when including the data of the program it shows:

> [@](#):
>
> Init values not available because of optimized code

And there are other problems with this (e.g. a free-form initialization with more than 15 lines and so on…

Also the data in the data area is less maintainable!

That’s not a solution!

---

<div class="post-metadata">

**Author:** ![Wei](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@Wei](https://techcommunity.softwareag.com/u/Wei)\
**Post date:** [September 19, 2006, 8:54pm UTC](https://techcommunity.softwareag.com/t/data-area-editor/60465/5 "2006-09-19T20:54:22Z")

</div>

Data Area Editor can be removed only if it’s possible to use more then one INCLUDE Statements in the DEFINE DATA section. Especially the use of placeholders (&1&) would be good for using the same structure with different structure names (level 1) more than once in a program.  
Example´:  
INCLUDE MYSTRUCT ‘M1’  
INCLUDE MYSTRUCT ‘M2’

with MYSTRUCT =  
1 &1&  
2 FIELD1(A1)  
2 FILED2(A1)

Of course there has to be a solution for GLOBAL DATA AREA’s

---

<div class="post-metadata">

**Author:** ![Lukas\_Hundemer](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/lukas_hundemer/32/113_2.png) [@Lukas\_Hundemer](https://techcommunity.softwareag.com/u/Lukas_Hundemer)\
**Post date:** [September 26, 2006, 3:29pm UTC](https://techcommunity.softwareag.com/t/data-area-editor/60465/6 "2006-09-26T15:29:47Z")

</div>

I would appreciate if you could edit a data area (member) with either the data editor OR the program editor (in this case it would look like the data part in the program). Maybe a profile option sets your preference.  
Indeed if I would have the choice, I would prefer the program editor 😉

---

<div class="post-metadata">

**Author:** ![Weihnachtsbar](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/weihnachtsbar/32/146_2.png) [@Weihnachtsbar](https://techcommunity.softwareag.com/u/Weihnachtsbar)\
**Post date:** [September 26, 2006, 4:14pm UTC](https://techcommunity.softwareag.com/t/data-area-editor/60465/7 "2006-09-26T16:14:13Z")

</div>

> [@Lukas Hundemer](#):
>
> … edit a data area (member) with either the data editor OR the program editor…

You can already do:  
Open your LDA  
Menu → Object → Generate  
Now you have your LDA inside a program editor.

… now modify … and then:  
Save e.g. as TEMP with type PROGRAM.  
Open your LDA.  
Delete all lda parameter.  
Menu → Insert → Import  
Select your TEMP program.  
Select all “Importable Data Fields” and import them.  
And … TATA … you got it …

The real problem is not that you now have lost all your comments, and it wasn’t really comfortable, but you lost Information!

A Global Unique ID now is a simple constant fields - which goes along with a loss of check functionality … and this is not the only difference …

As long as the native Natural language with DEFINE DATA does not proviede the same functionality as the Data Area Editor you can’t switch …

---

<div class="post-metadata">

**Author:** ![Lukas\_Hundemer](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/lukas_hundemer/32/113_2.png) [@Lukas\_Hundemer](https://techcommunity.softwareag.com/u/Lukas_Hundemer)\
**Post date:** [September 26, 2006, 7:21pm UTC](https://techcommunity.softwareag.com/t/data-area-editor/60465/8 "2006-09-26T19:21:42Z")

</div>

I am aware of that solution and I did it once. But indeed it is much too complicated for daily work (beside the effect that information is lost).

So let’s clarify my statement:

Let the DEFINE DATA provide the same functionality as the Data Area Editor AND give the choice to edit the data definitions either with the data editor or with the program editor.

---

<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:** [May 19, 2010, 11:05am UTC](https://techcommunity.softwareag.com/t/data-area-editor/60465/9 "2010-05-19T11:05:14Z")

</div>

The next version of TOOLKIT 4.4 has a utility called TKDA that will convert a LDA into your program editor and vice versa.

SAG should get rid of the damn thing and just use the program editor to catalog LDA/PDA and GDAs.

It’s just a waste of space!

---

<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/data-area-editor/60465/10 "2021-04-02T14:40:25Z")

</div>

Closed on April 2, 2021, 2:40pm UTC


