To use a DataStore to perform retrieval operations, you first need to create an instance of the DataStore object in a script and assign the DataWindow object to the DataStore. Then set the Transaction object for the DataStore. Once these setup steps have been performed, you can retrieve data into the DataStore, print the contents of the DataStore, or perform other processing against a retrieved result set.