Setting the default environment profile for rah on Windows

To set the default environment profile for the rah command, use a file called db2rah.env, which should be created in the instance directory.

About this task

Note: The information in this section applies to Windows only.
The file should have the following format:
   ; This is a comment line
   DB2INSTANCE=instancename
   DB2DBDFT=database
   ; End of file

You can specify all the environment variables that you need to initialize the environment for rah.