# HEADER of the display

**URL:** <https://techcommunity.softwareag.com/t/header-of-the-display/61907>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [February 5, 2007, 4:12pm UTC](https://techcommunity.softwareag.com/t/header-of-the-display/61907 "2007-02-05T16:12:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anik](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@anik](https://techcommunity.softwareag.com/u/anik)\
**Post date:** [February 5, 2007, 4:12pm UTC](https://techcommunity.softwareag.com/t/header-of-the-display/61907/1 "2007-02-05T16:12:37Z")

</div>

hello

Is it poseble to invert the header of the display statment?  
without changing the DDM

insted of

## abcd

1  
2  
3

it will be

## dcba

1  
2  
3

Thanks

---

<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:** [February 5, 2007, 5:15pm UTC](https://techcommunity.softwareag.com/t/header-of-the-display/61907/2 "2007-02-05T17:15:04Z")

</div>

Yes.  
When writing the display statement, instead of writing: “DISPLAY ddm-name” write: “DISPLAY ‘dcba’ ddm-name”

---

<div class="post-metadata">

**Author:** ![Wilfried\_B](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/wilfried_b/32/83_2.png) [@Wilfried\_B](https://techcommunity.softwareag.com/u/Wilfried_B)\
**Post date:** [February 5, 2007, 5:22pm UTC](https://techcommunity.softwareag.com/t/header-of-the-display/61907/3 "2007-02-05T17:22:33Z")

</div>

First, I thought of (PM=I) to invert the printing direction, (see [url][http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat422mf/parms/pm.htm#sp\_pm[/url]](http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat422mf/parms/pm.htm#sp_pm%5B/url%5D)), but when reading the document, I found out that this will only work on fields, not on headers. 😢

To change the header, insert the new header just before the fieldname, as in

```auto
DISPLAY
 'dcba' ABCD
```

or

define the header in DEFINE DATA

```auto
LOCAL
1 myview VIEW OF ddm
  2 abcd (HD='dcba')
```

---

<div class="post-metadata">

**Author:** ![anik](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@anik](https://techcommunity.softwareag.com/u/anik)\
**Post date:** [February 5, 2007, 7:55pm UTC](https://techcommunity.softwareag.com/t/header-of-the-display/61907/4 "2007-02-05T19:55:10Z")

</div>

well the  
DISPLAY  
‘dcba’ ABCD  
Solution was so obvious I forget to mention it.  
I looked for some way to reduce typing…  
the ( HD=‘dcba’) is a good one i’ll try it…

Thanks

---

<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:41pm UTC](https://techcommunity.softwareag.com/t/header-of-the-display/61907/5 "2021-04-02T14:41:02Z")

</div>


