VSM-2230-00-E Qualified retrieval not allowed for entry sequenced data set (ESDS) or OS sequential file

An error occurred in MVS VS-OBTAIN-BY-KEY. The data view specifies ESDS record type, but a keyed READ call was coded.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Resolution:

Check syntax.