The following example command opens the Query Design Center application, version 60.0, when entered from the command line:
| Note: | In the following examples, <INST_DIR> references the installation directory of MCPSQLUtilities on your system. |
java.exe -jar <INST_DIR>\qdc-60.0.jar
The following command displays a list of available command line arguments for the Query Design Center:
java.exe -jar <INST_DIR>\qdc-60.0.jar --help
The following command executes the script file located at C:\Unisys\MyScriptFile.txt. The Query Design Center displays the query that is currently being executed.
java.exe -jar <INST_DIR>\qdc-60.0.jar -s C:\Unisys\MyScriptFile.txt -h MYMCPSERVER -P 2012 -d MYDATABASE -u MYUSERCODE -p MYPASSWORD -V
The following command executes the script file even if an error is found:
java.exe -jar <INST_DIR>\qdc-60.0.jar -s C:\Unisys\MyScriptFile.txt -h MYMCPSERVER -P 2012 -d MYDATABASE -u MYUSERCODE -p MYPASSWORD -i
| Note: | If you plan to run a script multiple times, you can place the command into a .cmd file and add the directory of the .cmd file to your environmental variables. |

