VSM-2920-00-E AMB VSAM error - control OF ENDBR and UNLOCK functions must be in USER mode to use the DDN keyword

The DDN keyword is valid only when the control variables &VS-ENDBR-CONTROL and &VS-UNLOCK-CONTROL are set to USER.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Resolution:

Set &VS-ENDBR-CONTROL and &VS-UNLOCK-CONTROL to the USER in APSCNTL(APVSAMIN).