CASRA0185E ENQSCOPE value Scope value is only valid with _SHAREDMEM(YES)

ENQSCOPE value is only valid with _SHAREDMEM(YES).
Resolution:
Either change the value for ENQSCOPE or use _SHAREDMEM(YES).
Module:
dfhrmsg
Destination:
Standard Error