To use the DSQSDBNM program parameter to specify the database to which you want to connect when you start QMF, enter:
QMFn D=DBNAME
Where n is the language identifier for the session you are starting, and DBNAME, which must be entered in uppercase, is the name of the database to which you are connecting.
For example, to start an English-language session, and to connect to a database that is named Detroit, enter:
START QMFE D=DETROIT