SCB-1003-00-F Improper loc for Declaratives stm

A Declaratives Header was encountered in an incorrect location within the Procedure Division. Execution stops.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Resolution:

A Declaratives Header immediately follows the Procedure Division statement. Use only one.