Database execution command: input source override (-ID)
Use the Input Source Override - Database execution command (-ID) to designate a database as the source or you can override one or more of the adapter command settings or database definitions in a RUN function or on the command line.
The adapter commands are shown using a single quotation mark, which is the Windows syntax. For non-Windows platforms, use two single quotation marks followed by one single quotation mark and end with one single quotation mark followed by two single quotation marks.
Scenario: compiled map source is a database
Database/query file
(.mdq):
'[-MDQ mdq_file -DBNAME database_name]
[-QUERY query_name|-STMT SQL_stmt]
[-FILE [directory]]
[-VAR name=value…]
[-USER username]
[-PASSWORD password]
[-CCARD|-CSTMT [number]]
[-ROWCNT row_count]
[-AUDIT[G][+] [full_path]]
[{-TRACE|-TRACEERR}[+] [full_path]]'
No database/query file
(.mdq):
'-DBTYPE IFMX
-SOURCE datalink
-STMT SQL_statement
[-FILE [directory]]
[-VAR name=value…]
[-USER user_ID]
[-PASSWORD password]
[-CCARD|-CSTMT [number]]
[-ROWCNT row_count]'
Scenario: compiled map source is not a database
Database/query file
(.mdq):
'-MDQ mdq_file
-DBNAME database_name]
-QUERY query_name|-STMT SQL_stmt]
[-FILE [directory]]
[-VAR name=value…]
[-USER username]
[-PASSWORD password]
[-CCARD|-CSTMT [number]]
[-ROWCNT row_count]
[-AUDIT[G][+] [full_path]]
[{-TRACE|-TRACEERR}[+] [full_path]]'
No database/query file
(.mdq):
'-DBTYPE IFMX
-SOURCE datalink
-STMT SQL_statement
[-SOURCE datasource]
[-FILE [directory]]
[-USER user_ID]
[-PASSWORD password]
[-CCARD|-CSTMT [number]]
[-ROWCNT row_count]
[-AUDIT[G][+] [full_path]]
[{-TRACE|-TRACEERR}[+] [full_path]]'