Expecting segment or group quantity

A statement required a segment or group name, but did not find one. For
example,

SEGMENT DATA
ASSUME ds:FOO ;error, FOO is not group or segment name
FOO DW 0
ENDS DATA