To override the default location used during the creation of datasets, you can configure Enterprise Server to consult a file containing rules that determine where new datasets are created.
You do this by setting the ES_ALLOC_OVERRIDE environment variable to the location of the "rules" file. See Format of the Rules File for information about how to create rules in the rules file.