|
@@ -433,135 +433,6 @@ Yanrui Ma Richard Taylor Richard Chapman</programlisting>
|
|
|
</sect3>
|
|
|
|
|
|
<sect3>
|
|
|
- <title>Running queries in Interactive mode</title>
|
|
|
-
|
|
|
- <para>Assuming you have the eclplus.ini file as listed above, when
|
|
|
- you run eclplus without any options you will enter interactive
|
|
|
- mode:</para>
|
|
|
-
|
|
|
- <programlisting>eclplus
|
|
|
-Connected to:
|
|
|
-SDS=172.16.20.13 Queue=eclserver_linux_7way Cluster=linux_7way
|
|
|
-ECL></programlisting>
|
|
|
-
|
|
|
- <para>Type in ? for a list of the available commands:</para>
|
|
|
-
|
|
|
- <programlisting>ECL> ?</programlisting>
|
|
|
-
|
|
|
- <para>Supported commands:</para>
|
|
|
-
|
|
|
- <informaltable colsep="0" frame="none" rowsep="0">
|
|
|
- <tgroup cols="2">
|
|
|
- <colspec align="left" colwidth="125.55pt" />
|
|
|
-
|
|
|
- <colspec />
|
|
|
-
|
|
|
- <tbody>
|
|
|
- <row>
|
|
|
- <entry><ecl></entry>
|
|
|
-
|
|
|
- <entry>executes the supplied ecl</entry>
|
|
|
- </row>
|
|
|
-
|
|
|
- <row>
|
|
|
- <entry>@file.ecl</entry>
|
|
|
-
|
|
|
- <entry>executes the ecl in file.ecl</entry>
|
|
|
- </row>
|
|
|
-
|
|
|
- <row>
|
|
|
- <entry>conn[ect] SDSserver</entry>
|
|
|
-
|
|
|
- <entry>connects to the specified SDS server</entry>
|
|
|
- </row>
|
|
|
-
|
|
|
- <row>
|
|
|
- <entry>disc[onnect]</entry>
|
|
|
-
|
|
|
- <entry>disconnects from the active SDS server</entry>
|
|
|
- </row>
|
|
|
-
|
|
|
- <row>
|
|
|
- <entry>l[ist] {line}</entry>
|
|
|
-
|
|
|
- <entry>list command history, or retrieve one line</entry>
|
|
|
- </row>
|
|
|
-
|
|
|
- <row>
|
|
|
- <entry>sta[rt] file.ecl</entry>
|
|
|
-
|
|
|
- <entry>executes the ecl in file.ecl</entry>
|
|
|
- </row>
|
|
|
-
|
|
|
- <row>
|
|
|
- <entry>setparam name=value</entry>
|
|
|
-
|
|
|
- <entry>set global variable name to value</entry>
|
|
|
- </row>
|
|
|
-
|
|
|
- <row>
|
|
|
- <entry>sav[e] file</entry>
|
|
|
-
|
|
|
- <entry>save ecl to a local file</entry>
|
|
|
- </row>
|
|
|
-
|
|
|
- <row>
|
|
|
- <entry>spo[ol] {file|off}</entry>
|
|
|
-
|
|
|
- <entry>send query output to a file, or the console if
|
|
|
- 'off'</entry>
|
|
|
- </row>
|
|
|
-
|
|
|
- <row>
|
|
|
- <entry>exit</entry>
|
|
|
-
|
|
|
- <entry>exit eclplus</entry>
|
|
|
- </row>
|
|
|
-
|
|
|
- <row>
|
|
|
- <entry>quit</entry>
|
|
|
-
|
|
|
- <entry>exit eclplus</entry>
|
|
|
- </row>
|
|
|
-
|
|
|
- <row>
|
|
|
- <entry>ver[sion]</entry>
|
|
|
-
|
|
|
- <entry>display version information</entry>
|
|
|
- </row>
|
|
|
-
|
|
|
- <row>
|
|
|
- <entry>help</entry>
|
|
|
-
|
|
|
- <entry>displays this message</entry>
|
|
|
- </row>
|
|
|
-
|
|
|
- <row>
|
|
|
- <entry>?</entry>
|
|
|
-
|
|
|
- <entry>displays this message</entry>
|
|
|
- </row>
|
|
|
- </tbody>
|
|
|
- </tgroup>
|
|
|
- </informaltable>
|
|
|
-
|
|
|
- <para>Most of the commands are self-explanatory. You can run a query
|
|
|
- by typing in the ecl directly:</para>
|
|
|
-
|
|
|
- <programlisting>ECL> 1+1
|
|
|
-Result
|
|
|
-2</programlisting>
|
|
|
-
|
|
|
- <para>Or by running a file that contains the query:</para>
|
|
|
-
|
|
|
- <programlisting>ECL> @datasetquery.txt
|
|
|
-firstname lastname
|
|
|
-Yanrui Ma
|
|
|
-Richard Taylor
|
|
|
-Richard Chapman</programlisting>
|
|
|
- </sect3>
|
|
|
-
|
|
|
- <sect3>
|
|
|
<title>Workunit Dump</title>
|
|
|
|
|
|
<para>A Workunit dump is an XML representation of every piece of
|