Database/Query File (-M or -MDQ)
Use the Database/Query File adapter command (-MDQ) to specify the name of the .mdq file that contains the database definition for the database to be used, as specified with the -DBNAME adapter command. This Database/Query File adapter command can be used for a source or target, or in a DBLOOKUP, DBQUERY, GET, or PUT function.
-MDQ mdq_file_name
When this adapter command is used, the .mdq file must be available at map execution time. Also, if the .mdq file is not in the same directory as the compiled map file, the full pathname is required.
If the Database/Query File adapter command (-MDQ) is specified, it overrides the value in the GET > Source > DatabaseQueryFile > File setting.