Used in the LOAD MODULE statement to bind stores in the module to stores in the parent scope.
STORES store1-inModule = store1-parentScope [,...]
| store-inModule | The name of the store defined in the module. | 
| store1-parentScope | The name of the store in the parent scope. Bind the module store to this store. | 
This example maps a store in the module to a store in its parent scope.
CREATE MODULE filterModule IN filterIn OUT filterOut BEGIN CREATE MEMORY STORE filterStore; CREATE SCHEMA filterSchema (ID Integer, Value Integer); CREATE INPUT WINDOW filterIn SCHEMA filterSchema PRIMARY KEY ID STORE filterStore; CREATE OUTPUT WINDOW filterOut SCHEMA filterSchema PRIMARY KEY DEDUCED STORE filterSTore AS SELECT * FROM filterIn WHERE filterIn.Value > 10; END; CREATE MEMORY STORE mainStore; CREATE SCHEMA filterSchema (ID Integer, Value Integer); LOAD MODULE filterModule AS filter1 IN filterIn=marketIn OUT filterOUT=marketOut STORES filterStore=mainStore;