# generating fdt

**URL:** <https://techcommunity.softwareag.com/t/generating-fdt/99021>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-on-Mainframes, Adabas-Basics-on-Mainframes\
**Created:** [November 22, 2011, 12:31pm UTC](https://techcommunity.softwareag.com/t/generating-fdt/99021 "2011-11-22T12:31:09Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![begona\_beldarrain](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@begona\_beldarrain](https://techcommunity.softwareag.com/u/begona_beldarrain)\
**Post date:** [November 22, 2011, 12:31pm UTC](https://techcommunity.softwareag.com/t/generating-fdt/99021/1 "2011-11-22T12:31:09Z")

</div>

I am defining a file without nulls supression in Predict. This field is part of a superdescriptors  
This field before was null supression = N. I change it to F. When I generate it, i receive message dic2367 and a remark ‘invalid definition on field’.  
If I define this file with supression N, the generation process is ok.

What am I doing wrong?

Regards

---

<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:** [November 22, 2011, 2:13pm UTC](https://techcommunity.softwareag.com/t/generating-fdt/99021/2 "2011-11-22T14:13:06Z")

</div>

Begoña,

what type is the field you are trying to change here ?

Best regards,

Wolfgang

---

<div class="post-metadata">

**Author:** ![begona\_beldarrain](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@begona\_beldarrain](https://techcommunity.softwareag.com/u/begona_beldarrain)\
**Post date:** [November 22, 2011, 4:02pm UTC](https://techcommunity.softwareag.com/t/generating-fdt/99021/3 "2011-11-22T16:02:22Z")

</div>

Wolfgang,

I copy below the Predict definition of the field and superdescriptor implied  
Ty L Field ID F Cs Length Occ D U DB S  
\*- - -------------------------------- \*- \* -------- ----- \* \* – \*  
1 XXXX-XX N 6,0 AA N

Ty L Field name F Cs Length Occ D U DB N NAT-l

* * *

SP 1 ZZZZZ-ZZZ N 10,0 D U FZ N

```
        Source field name * F Length Start End DB      
      1 XXXX-XX N 6,0 AA      
      2 YYYY N 4,0 AG      
      3                                                                    
      4               

```

If I change column S from N to F , and I generate FDT , an error DIC2637 occurs.  
Could be necessary to change the superdescriptor definition compression from N to something?

Many thanks for your attention.

---

<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:** [November 22, 2011, 4:11pm UTC](https://techcommunity.softwareag.com/t/generating-fdt/99021/4 "2011-11-22T16:11:57Z")

</div>

Begoña,

no, you can’t change that, the SP definition doesn’t have any influence here,  
FI simply is not valid for ‘N’ fields, or, more precisely, for their equivalent Adabas  
field type ‘U’ (GEN AF will create a FNDEF with format U), please refer to

[http://techcommunity.softwareag.com/ecosystem/documentation/adabas/ada824mfr/adamf/util/flddefs.htm#fndef\_fld\_options\_FI](http://techcommunity.softwareag.com/ecosystem/documentation/adabas/ada824mfr/adamf/util/flddefs.htm#fndef_fld_options_FI)

Wolfgang

---

<div class="post-metadata">

**Author:** ![begona\_beldarrain](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@begona\_beldarrain](https://techcommunity.softwareag.com/u/begona_beldarrain)\
**Post date:** [November 22, 2011, 4:19pm UTC](https://techcommunity.softwareag.com/t/generating-fdt/99021/5 "2011-11-22T16:19:04Z")

</div>

Wolfgang,

thanks for your input. The reason I was trying to do that is:

A register with null values at this field must be retrieved with Read file by superdescriptor.

Please, what I must do??

Regards.

---

<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:** [November 22, 2011, 4:33pm UTC](https://techcommunity.softwareag.com/t/generating-fdt/99021/6 "2011-11-22T16:33:24Z")

</div>

Begoña,

just leave it as is, format U fields do not need to have the FI attribute,  
a SP descriptor entry will be created even when ‘AA’ is 0 😉

Best regards,

Wolfgang

---

<div class="post-metadata">

**Author:** ![begona\_beldarrain](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@begona\_beldarrain](https://techcommunity.softwareag.com/u/begona_beldarrain)\
**Post date:** [November 22, 2011, 5:03pm UTC](https://techcommunity.softwareag.com/t/generating-fdt/99021/7 "2011-11-22T17:03:18Z")

</div>

Thanks for the info, Wolfgang!!! I got it!!!

---

<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:** [November 23, 2011, 1:24am UTC](https://techcommunity.softwareag.com/t/generating-fdt/99021/8 "2011-11-23T01:24:08Z")

</div>

Just to elaborate a bit…format U fields can have the Null Suppression compression attribute set (represented in Predict with comppression attribute value “N”), which will suppress the superdescriptor entry when the value is 0. Default compression (represented in Predict with a blank in the compression attribute) will enable the superdescriptor entry to be created even when the value is 0.

[http://techcommunity.softwareag.com/ecosystem/documentation/natural/prd461/predef/eldefb.htm#Suppression\_\_\_Null\_Value\_Option](http://techcommunity.softwareag.com/ecosystem/documentation/natural/prd461/predef/eldefb.htm#Suppression___Null_Value_Option)

Begoña indicates that the field is null suppressed and this appears in the Predict snippet enclosed. Hence the superdescriptor entry will not be created when the source field is null valued (zero). To change the compression attribute will require the file to be unloaded and reloaded with the new FDT definition using default compression.

Null suppression for a superdescriptor is not defined, it is derived from its source elements. If any of the source fields are null suppressed, then the superdescriptor will be null suppressed also when the null suppressed source field(s) are null.

---

<div class="post-metadata">

**Author:** ![begona\_beldarrain](https://avatars.discourse-cdn.com/v4/letter/b/df788c/32.png) [@begona\_beldarrain](https://techcommunity.softwareag.com/u/begona_beldarrain)\
**Post date:** [November 23, 2011, 9:14am UTC](https://techcommunity.softwareag.com/t/generating-fdt/99021/9 "2011-11-23T09:14:42Z")

</div>

Thank you very much for the explanation, Douglas!!!

---

<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:01pm UTC](https://techcommunity.softwareag.com/t/generating-fdt/99021/10 "2021-04-02T15:01:14Z")

</div>


