# adafdu syntax

**URL:** <https://techcommunity.softwareag.com/t/adafdu-syntax/57788>\
**Category:** Forum\
**Tags:** Adabas-Natural, Adabas, Adabas-on-Linux, Adabas-Utilities-on-Open-Systems\
**Created:** [September 26, 2005, 5:18pm UTC](https://techcommunity.softwareag.com/t/adafdu-syntax/57788 "2005-09-26T17:18:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sai](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@sai](https://techcommunity.softwareag.com/u/sai)\
**Post date:** [September 26, 2005, 5:18pm UTC](https://techcommunity.softwareag.com/t/adafdu-syntax/57788/1 "2005-09-26T17:18:55Z")

</div>

Can any one help me out how to pass the parameter fdt and fdu to the adafdu utility

---

<div class="post-metadata">

**Author:** ![Matthias1](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Matthias1](https://techcommunity.softwareag.com/u/Matthias1)\
**Post date:** [September 26, 2005, 9:40pm UTC](https://techcommunity.softwareag.com/t/adafdu-syntax/57788/2 "2005-09-26T21:40:36Z")

</div>

> [@saisunil](#):
>
> Can any one help me out how to pass the parameter fdt and fdu to the adafdu utility

On adabas for Linux/Unix you can write a simple textfile containing the FDT and set the corresponding environment variable FDUFDT.

For example, here’s a script we are using for loading of the checkpoint file:

```auto
#!/bin/sh
# Shell script to load Checkpoint file

# . ${SAG}/sagenv >/dev/null # only needed if started with crontab

DBID=1
export FDUFDT=/tmp/f1.fdu

adaset $DBID

echo '1,cp
2,ti,8,b,nu
2,bn,4,b,nu
2,jn,8,a,nu
2,na,4,a,nu
2,tn,2,b,nu
2,ty,1,b,nu
2,ex,1,b,nu' > $FDUFDT

$ADADIR/$ADAVERS/adafdu << END_OF_PARAMS >/tmp/logfile.txt 2>&1
dbid=$DBID
file=1
maxisn=5000,name=Checkpoint
assopfac=5,datapfac=5
uisize=3b,nisize=10b,dssize=100b
fdt
END_OF_PARAMS

err=$?
if [$err != 0]
then
  echo "adafdu: Failed with $err"
else
  echo "adafdu: Successful terminated"
fi
exit $err
```

---

<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:38pm UTC](https://techcommunity.softwareag.com/t/adafdu-syntax/57788/3 "2021-04-02T14:38:52Z")

</div>


