# How to purge objects in batch

**URL:** <https://techcommunity.softwareag.com/t/how-to-purge-objects-in-batch/92644>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Add-on-Products, Natural-Predict\
**Created:** [January 29, 2010, 3:57pm UTC](https://techcommunity.softwareag.com/t/how-to-purge-objects-in-batch/92644 "2010-01-29T15:57:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rudolf3](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@Rudolf3](https://techcommunity.softwareag.com/u/Rudolf3)\
**Post date:** [January 29, 2010, 3:57pm UTC](https://techcommunity.softwareag.com/t/how-to-purge-objects-in-batch/92644/1 "2010-01-29T15:57:16Z")

</div>

Could someone enlighten me and tell me how I can purge objects from Predict in batch (z/OS).

When I try to purge an object I do see that this command is invoked, but it expects a DELETE (see log).

* * *

Type … Subprogram  
Enter purge option:  
If you enter ‘DELETE’:  
The program, all links to children from this program and all links to  
this program from parents are purged.

DATA DELETE  
FIELD  
DATA PURGE PR P:A70114A  
NAT9987 Natural session terminated abnormally - RC=115.

* * *

How can I provide the DELETE option?

Kind regards,  
Rudolf

---

<div class="post-metadata">

**Author:** ![Rudolf3](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@Rudolf3](https://techcommunity.softwareag.com/u/Rudolf3)\
**Post date:** [January 29, 2010, 4:48pm UTC](https://techcommunity.softwareag.com/t/how-to-purge-objects-in-batch/92644/2 "2010-01-29T16:48:04Z")

</div>

It does work. Just add DELETE on the next line.

Does anyone know how I can force PREDICT to continue in case an object does not exist?

Rudolf

---

<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:57pm UTC](https://techcommunity.softwareag.com/t/how-to-purge-objects-in-batch/92644/3 "2021-04-02T14:57:59Z")

</div>


