SCB-1004-00-F Improper loc for END DECLARATIVES stm

The word END was encountered as the first COBOL word in a statement in the Procedure Division and no corresponding Declaratives Header was previously encountered. This END is presumed to be a part of End Declaratives statement. Execution stops.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.