Use these steps to create Azure datastores if you have not already created them using the scripts mentioned in Create Datastore Scripts for Microsoft Azure.
set MFDBFH_CONFIG=<location-and-name-of-file>
If you do not set this variable, the file is assumed to be located in the current directory, or you may use the -configfile:<name> option appended to the following dbfhdeploy commands (see The dbfhdeploy Command Line Utility for more details).
dbfhdeploy data add <filename> URL/<file-ref>[?folder=<folder-name>]
If <folder-name> does not already exist, it is created.
dbfhdeploy list URL[?folder=<folder-name>]
A list of files is displayed.
If any of the files in your datastore are transactional, you must also configure an XA resource within the enterprise server region that points to the datastore; see Create an XA Resource. If none of your files are transactional, you can skip that step and proceed to configuring your CICS or batch (JCL) applications to use the file(s) in the datastore, and if resource locking is to be managed by an enterprise server region, configuring region and cross-region databases.