Database/query file (-MDQ)
Use the Database/Query File adapter command (-MDQ) to specify the name of the database/query file (.mdq) that contains the database definition for the database to be used (as specified using the -DBNAME adapter command). This Database/Query File adapter command can be used for a source or target or in a GET or PUT function.
-MDQ mdq_file
When this adapter command is used, the .mdq file must be available at map run time. Also, if the database/query file is not in the same directory as the compiled map file, the full path name is required.
Note: Using
the combination of the Database Name adapter command (-DBNAME)
and the Database/Query File adapter command (-MDQ)
provides the same information as the combination of the Connect String adapter
command (-C), the User Name adapter command (-US),
and the Password adapter command (-PW). If both sets
of commands exist in the command line, the -C, -US,
and -PW combination takes precedence.