DCL-1470-00-E Dependent record under record to be deleted may not be referenced

For a DB-ERASE, you must precede any record which is a child of a record you want to delete with the keyword REC.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Resolution:

Correct the call by specifying the keyword REC for all records under the first record you want to delete.