VSM-2480-00-E AMB VSAM error - DB-ERASE with key qualification invalid with sequential access mode

The WHERE key qualification for DB-ERASE is invalid when SEQUENTIAL access is specified.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Resolution:

Retrieve the record prior to deletion. Use DB-ERASE without the key qualification.