forked from hpcc-systems/HPCC-Platform
/
CT_ECL_CLI.xml
5527 lines (3904 loc) · 157 KB
/
CT_ECL_CLI.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<book>
<bookinfo>
<title>Client Tools Component ECL CLI</title>
<author>
<firstname>Boca Raton</firstname>
<surname>Documentation Team</surname>
<affiliation>
<orgname>Lexis Nexis</orgname>
</affiliation>
</author>
<pubdate>Nov. 2011</pubdate>
</bookinfo>
<chapter id="ECL_CLI">
<title>ECL Command Line Interface</title>
<sect1 id="The_ECL_Command_Syntax" role="nobrk">
<title>The ECL Command Syntax</title>
<sect2 id="ecl_command_syntax">
<title><emphasis role="bold">ecl [</emphasis>--version<emphasis
role="bold">]</emphasis> <command> <emphasis
role="bold">[</emphasis><options><emphasis
role="bold">]</emphasis></title>
<para></para>
<informaltable colsep="1" frame="all" rowsep="1">
<tgroup cols="2">
<colspec align="left" colwidth="125.55pt" />
<colspec />
<tbody>
<row>
<entry><emphasis>--version</emphasis></entry>
<entry>displays version info.</entry>
</row>
<row>
<entry><emphasis role="bold">Arguments</emphasis></entry>
<entry></entry>
</row>
<row>
<entry>deploy</entry>
<entry>Create a workunit from an ecl file, archive, or
dll</entry>
</row>
<row>
<entry>publish</entry>
<entry>Add a workunit to a query set</entry>
</row>
<row>
<entry>unpublish</entry>
<entry>Remove a query from a query set</entry>
</row>
<row>
<entry>run</entry>
<entry>Run the given ecl file, archive, dll, wuid, or
query</entry>
</row>
<row>
<entry>results</entry>
<entry>returns the full results of a given WUID in XML
format.</entry>
</row>
<row>
<entry>activate</entry>
<entry>Activate a published query</entry>
</row>
<row>
<entry>deactivate</entry>
<entry>Deactivate the given query alias name</entry>
</row>
<row>
<entry>queries</entry>
<entry>List or manipulate queries and querysets</entry>
</row>
<row>
<entry>roxie</entry>
<entry>execute commands for Roxie</entry>
</row>
<row>
<entry>packagemap</entry>
<entry>execute packagemap commands (for Roxie)</entry>
</row>
<row>
<entry>bundle</entry>
<entry>manage ECL bundles</entry>
</row>
<row>
<entry>abort</entry>
<entry>aborts one or more workunits from the given WUID or job
name</entry>
</row>
<row>
<entry>status</entry>
<entry>returns the status of a given workunit or job name. If
more than one is found, a list returns.</entry>
</row>
<row>
<entry>getname</entry>
<entry>returns the workunit name from the given WUID.</entry>
</row>
<row>
<entry>getwuid</entry>
<entry>returns the WUID(s) of the given workunit job
name.</entry>
</row>
</tbody>
</tgroup>
</informaltable>
<para></para>
<sect3 id="CT_ECL_CLI_ecl.ini" role="brk">
<title>ecl.ini</title>
<para>Many options can be placed in a file called <emphasis
role="bold">ecl.ini</emphasis> in the same directory as the
executable. Options that do not change very often should be put in
the ini file. For example:</para>
<programlisting>eclWatchIP=10.150.50.12
eclWatchPort=28010
eclUserName=emilykate
eclPassword=elmo812
resultLimit=200
</programlisting>
<para>In some examples below, we'll assume ecl.ini has the above
content.</para>
<para><informaltable colsep="1" frame="all" rowsep="1">
<tgroup cols="2">
<colspec colwidth="49.50pt" />
<colspec />
<tbody>
<row>
<entry><graphic fileref="images/caution.png" scale="noin"
xml:base="../../" /></entry>
<entry>We do not recommend storing your password in the
INI file (which is clear text). The password is included
in the INI file for these examples to simplify the example
code.</entry>
</row>
</tbody>
</tgroup>
</informaltable></para>
<para>The following options can be provided in an ini file:
eclWatchIP, eclWatchPort, eclUserName, eclPassword, activateDefault,
waitTimeout, resultLimit.</para>
<para>Evaluation of options follows this order of precedence:</para>
<itemizedlist>
<listitem>
<para>command line</para>
</listitem>
<listitem>
<para>ini file</para>
</listitem>
<listitem>
<para>environment variable</para>
</listitem>
<listitem>
<para>default value</para>
</listitem>
</itemizedlist>
</sect3>
<sect3 id="CT_CLI_Syntax_EnvironmentVariables" role="brk">
<title>Environment Variables</title>
<para>Some options can be stored in Environment Variables on your
machine. The following options are supported:</para>
<programlisting>ECL_WATCH_IP
ECL_WATCH_PORT
ECL_USER_NAME
ECL_PASSWORD
ECL_WAIT_TIMEOUT
ECL_RESULT_LIMIT
ECLCC_PATH
</programlisting>
<para></para>
<para><informaltable colsep="1" frame="all" rowsep="1">
<tgroup cols="2">
<colspec colwidth="49.50pt" />
<colspec />
<tbody>
<row>
<entry><graphic fileref="images/caution.png" scale="noin"
xml:base="../../" /></entry>
<entry>We do not recommend storingword in an Environment
Variable unless your system is secured.</entry>
</row>
</tbody>
</tgroup>
</informaltable></para>
</sect3>
</sect2>
<sect2 id="CT_CLI_SyntaxECLDeploy" role="brk">
<title>ecl deploy</title>
<para><emphasis role="bold">ecl deploy <target> <file>
[--name=<value>] </emphasis></para>
<para><emphasis role="bold">ecl deploy <target> <archive>
[--name=<value>] </emphasis></para>
<para><emphasis role="bold">ecl deploy <target> <so | dll
> [--name=<value>] </emphasis></para>
<para><emphasis role="bold">ecl deploy <target> -
[--name=<val>]</emphasis></para>
<para>Examples:</para>
<programlisting>ecl deploy roxie findperson.ecl --name=FindPersonService
ecl deploy roxie ArchiveQuery.xml --name=FindPersonService
ecl deploy roxie libW20150914-125557.so --name=FindPersonService
ecl deploy roxie - --name=FindPersonService
</programlisting>
<para>A hyphen (-) specifies that the object should be read from
stdin.</para>
<para><informaltable colsep="1" frame="all" rowsep="1">
<tgroup cols="2">
<colspec align="left" colwidth="125.55pt" />
<colspec />
<tbody>
<row>
<entry>ecl deploy</entry>
<entry>Creates a workunit on the HPCC system from the given
ECL text, file, archive, shared object, or dll. The workunit
is created in the <emphasis>compiled</emphasis>
state.</entry>
</row>
<row>
<entry><emphasis role="bold">Arguments</emphasis></entry>
</row>
<row>
<entry>target</entry>
<entry>The target cluster to which to deploy</entry>
</row>
<row>
<entry>file</entry>
<entry>The ECL text file to deploy</entry>
</row>
<row>
<entry>archive</entry>
<entry>The ECL archive to deploy</entry>
</row>
<row>
<entry>so | dll</entry>
<entry>The workunit dynamic linked library or shared object
to deploy</entry>
</row>
<row>
<entry>-</entry>
<entry>Specifies object should be read from stdin</entry>
</row>
<row>
<entry><emphasis role="bold">Options</emphasis></entry>
</row>
<row>
<entry>-n, --name</entry>
<entry>The published query name</entry>
</row>
<row>
<entry>-v, --verbose</entry>
<entry>Output additional tracing information</entry>
</row>
<row>
<entry>-s, --server</entry>
<entry>The IP Address or hostname of ESP server running ECL
Watch services</entry>
</row>
<row>
<entry>--port</entry>
<entry>The ECL Watch services port (Default is 8010)</entry>
</row>
<row>
<entry>-ssl</entry>
<entry>Use SSL to secure the connection to the
server.</entry>
</row>
<row>
<entry>-u, --username</entry>
<entry>The username (if necessary)</entry>
</row>
<row>
<entry>-pw, --password</entry>
<entry>The password (if necessary)</entry>
</row>
<row>
<entry>--wait-connect=<Ms></entry>
<entry>Timeout while connecting to server (in
milliseconds)</entry>
</row>
<row>
<entry>--wait-read=<Secs></entry>
<entry>Timeout while reading from socket (in
seconds)</entry>
</row>
<row>
<entry>--main</entry>
<entry>The definition to use from legacy ECL
repository</entry>
</row>
<row>
<entry>--ecl-only</entry>
<entry>Send ECL query to HPCC as text rather than as a
generated archive</entry>
</row>
<row>
<entry><emphasis role="bold">eclcc
Options</emphasis></entry>
<entry></entry>
</row>
<row>
<entry>-Ipath</entry>
<entry>Add path to locations to search for ecl
imports</entry>
</row>
<row>
<entry>-Lpath</entry>
<entry>Add path to locations to search for system
libraries</entry>
</row>
<row>
<entry>--manifest</entry>
<entry>Specify path to manifest file</entry>
</row>
<row>
<entry>-checkDirty</entry>
<entry>Causes eclcc to generate a warning for any attribute
that has been modified (according to the output of git
status). Use of this function requires that git be installed
and available on the path.</entry>
</row>
<row>
<entry>--nostdinc</entry>
<entry>Do not include the current directory in -I</entry>
</row>
<row>
<entry>--fastsyntax</entry>
<entry>Delay expanding functions when parsing. May speed up
processing for some queries</entry>
</row>
</tbody>
</tgroup>
</informaltable></para>
</sect2>
<sect2 id="CT_CLI_SyntaxECLPublish" role="brk">
<title>ecl publish</title>
<para><emphasis role="bold">ecl publish <target> <file>
[--name=<val>] </emphasis></para>
<para><emphasis role="bold">ecl publish <target> <wuid>
[--name=<val>] </emphasis></para>
<para><emphasis role="bold">ecl publish <target> <so |
dll> [--name=<val>] </emphasis></para>
<para><emphasis role="bold">ecl publish <target> <archive>
[--name=<val>] </emphasis></para>
<para><emphasis role="bold">ecl publish <target> -
[--name=<val>] </emphasis></para>
<para>Examples:</para>
<programlisting>ecl publish roxie findperson.ecl --name=FindPersonService -A
ecl publish roxie W20150914-125557 --name=FindPersonService -A
ecl publish roxie libW20150914-125557.so --name=FindPersonService -A
ecl publish roxie ArchiveQuery.xml --name=FindPersonService -A
ecl publish roxie - --name=FindPersonService --activate
ecl publish roxie findperson.ecl --name=FindPersonService --no-activate
ecl publish roxie ArchiveQuery.xml --name=FindPersonService --no-activate
</programlisting>
<para>A hyphen (-) specifies that the object should be read from
stdin.</para>
<para><informaltable colsep="1" frame="all" rowsep="1">
<tgroup cols="2">
<colspec align="left" colwidth="125.55pt" />
<colspec />
<tbody>
<row>
<entry>ecl publish</entry>
<entry>Publishes a query into a queryset. The query is
created by adding a workunit to a queryset and assigning it
a query name.</entry>
</row>
<row>
<entry><emphasis role="bold">Arguments</emphasis></entry>
</row>
<row>
<entry>target</entry>
<entry>The target cluster to which to publish</entry>
</row>
<row>
<entry>wuid</entry>
<entry>The workunit id to publish</entry>
</row>
<row>
<entry>file</entry>
<entry>The ECL text file to publish</entry>
</row>
<row>
<entry>archive</entry>
<entry>The ECL archive to publish</entry>
</row>
<row>
<entry>so | dll</entry>
<entry>The workunit dynamic linked library or shared object
to publish</entry>
</row>
<row>
<entry>-</entry>
<entry>Specifies object should be read from stdin</entry>
</row>
<row>
<entry><emphasis role="bold">Options</emphasis></entry>
</row>
<row>
<entry>-n, --name</entry>
<entry>The published query name</entry>
</row>
<row>
<entry>-A, --activate</entry>
<entry>Activates query when published (default)</entry>
</row>
<row>
<entry>-A-, --no-activate</entry>
<entry>Does not activate query when published</entry>
</row>
<row>
<entry>-sp, --suspend-prev</entry>
<entry>Suspend previously active query</entry>
</row>
<row>
<entry>-dp, --delete-prev</entry>
<entry>Delete previously active query</entry>
</row>
<row>
<entry>--no-files</entry>
<entry>Specifies to not copy DFS file information for files
referenced by the query</entry>
</row>
<row>
<entry>--no-reload</entry>
<entry>Specifies to not request a reload of the Roxie
cluster</entry>
</row>
<row>
<entry>--allow-foreign</entry>
<entry>Specifies to allow the use of foreign files in a
Roxie query. If a Roxie query references foreign files and
this is not enabled, publish will fail.</entry>
</row>
<row>
<entry>--daliip=</entry>
<entry>IP address or hostname of the remote Dali to use for
remote logical file lookups.</entry>
</row>
<row>
<entry>--update-dfs</entry>
<entry>Update local DFS info if remote DALI has
changed</entry>
</row>
<row>
<entry>---source-process</entry>
<entry>Process cluster from which to copy files</entry>
</row>
<row>
<entry>--timeLimit=<sec></entry>
<entry>Value to set for query timeLimit
configuration</entry>
</row>
<row>
<entry>--warnTimeLimit=<sec></entry>
<entry>Value to set for query warnTimeLimit
configuration</entry>
</row>
<row>
<entry>--memoryLimit=<mem></entry>
<entry>Value to set for query memoryLimit configuration.
Format <mem> as 500000B, 550K, 100M, 10G, or 1T,
etc.</entry>
</row>
<row>
<entry>--priority=<val></entry>
<entry>The priority for this query. Value can be LOW, HIGH,
SLA, NONE. NONE will clear current setting.</entry>
</row>
<row>
<entry>--comment=<string></entry>
<entry>A comment associated with this query</entry>
</row>
<row>
<entry>--wait=<sec></entry>
<entry>Maximum time to wait for cluster finish
updating</entry>
</row>
<row>
<entry>-v, --verbose</entry>
<entry>Output additional tracing information</entry>
</row>
<row>
<entry>-s, --server</entry>
<entry>The IP Address or hostname of ESP server running ECL
Watch services</entry>
</row>
<row>
<entry>--port</entry>
<entry>The ECL Watch services port (Default is 8010)</entry>
</row>
<row>
<entry>-ssl</entry>
<entry>Use SSL to secure the connection to the
server.</entry>
</row>
<row>
<entry>-u, --username</entry>
<entry>The username (if necessary)</entry>
</row>
<row>
<entry>-pw, --password</entry>
<entry>The password (if necessary)</entry>
</row>
<row>
<entry>--wait-connect=<Ms></entry>
<entry>Timeout while connecting to server (in
milliseconds)</entry>
</row>
<row>
<entry>--wait-read=<Secs></entry>
<entry>Timeout while reading from socket (in
seconds)</entry>
</row>
<row>
<entry>--main</entry>
<entry>The definition to use from legacy ECL
repository</entry>
</row>
<row>
<entry>--ecl-only</entry>
<entry>Send ECL query to HPCC as text rather than as a
generated archive</entry>
</row>
<row>
<entry>--limit=<limit></entry>
<entry>Sets the result limit for the query</entry>
</row>
<row>
<entry>-f<option>[=value]</entry>
<entry>Set an ECL option (equivalent to #option)</entry>
</row>
<row>
<entry>-Dname=value</entry>
<entry>Override the definition of a global attribute
'name'</entry>
</row>
<row>
<entry><emphasis role="bold">eclcc
Options</emphasis></entry>
<entry></entry>
</row>
<row>
<entry>-Ipath</entry>
<entry>Add path to locations to search for ecl
imports</entry>
</row>
<row>
<entry>-Lpath</entry>
<entry>Add path to locations to search for system
libraries</entry>
</row>
<row>
<entry>--manifest</entry>
<entry>Specify path to manifest file</entry>
</row>
<row>
<entry>-checkDirty</entry>
<entry>Causes eclcc to generate a warning for any attribute
that has been modified (according to the output of git
status). Use of this function requires that git be installed
and available on the path.</entry>
</row>
<row>
<entry>--nostdinc</entry>
<entry>Do not include the current directory in -I</entry>
</row>
<row>
<entry>--fastsyntax</entry>
<entry>Delay expanding functions when parsing. May speed up
processing for some queries</entry>
</row>
</tbody>
</tgroup>
</informaltable></para>
</sect2>
<sect2 id="CT_CLI_SyntaxECLUnPublish" role="brk">
<title>ecl unpublish</title>
<para><emphasis role="bold">ecl unpublish <queryset>
<query_id></emphasis></para>
<para><emphasis role="bold">Example:</emphasis></para>
<programlisting>ecl unpublish roxie FindpersonService.1
ecl unpublish roxie "FindpersonService*"
</programlisting>
<para></para>
<para><informaltable colsep="1" frame="all" rowsep="1">
<tgroup cols="2">
<colspec align="left" colwidth="125.55pt" />
<colspec />
<tbody>
<row>
<entry>ecl unpublish</entry>
<entry>executes the supplied ecl unpublish command</entry>
</row>
<row>
<entry><emphasis role="bold">Arguments</emphasis></entry>
</row>
<row>
<entry>queryset</entry>
<entry>The name of queryset containing query to
unpublish</entry>
</row>
<row>
<entry>query_id</entry>
<entry>The query to remove from query set. Wildcards
allowed, but must be in quotes (e.g., "MyQuery*" ).</entry>
</row>
<row>
<entry><emphasis role="bold">Options</emphasis></entry>
</row>
<row>
<entry>-v, --verbose</entry>
<entry>Output additional tracing information</entry>
</row>
<row>
<entry>-s, --server</entry>
<entry>The IP Address or hostname of ESP server running ECL
Watch services</entry>
</row>
<row>
<entry>--port</entry>
<entry>The ECL Watch services port (Default is 8010)</entry>
</row>
<row>
<entry>-ssl</entry>
<entry>Use SSL to secure the connection to the
server.</entry>
</row>
<row>
<entry>-u, --username</entry>
<entry>The username (if necessary)</entry>
</row>
<row>
<entry>-pw, --password</entry>
<entry>The password (if necessary)</entry>
</row>
<row>
<entry>--wait-connect=<Ms></entry>
<entry>Timeout while connecting to server (in
milliseconds)</entry>
</row>
<row>
<entry>--wait-read=<Secs></entry>
<entry>Timeout while reading from socket (in
seconds)</entry>
</row>
</tbody>
</tgroup>
</informaltable></para>
</sect2>
<sect2 id="CT_CLI_SyntaxECLRun" role="brk">
<title>ecl run</title>
<para><emphasis role="bold">ecl run <target> <file>
[--name=<val>] [--input=<file|xml>] [--wait=<i>]
</emphasis></para>
<para><emphasis role="bold">ecl run <target> <wuid>
[--input=<file|xml>] [--wait=<ms>]</emphasis></para>
<para><emphasis role="bold">ecl run <target> <query>
[--input=<file|xml>][--wait=<ms>]</emphasis></para>
<para><emphasis role="bold">ecl run <target> <so | dll>
[--name=<val>][--input=<file|xml>][--wait=<i>]</emphasis></para>
<para><emphasis role="bold">ecl run <target> <archive>
--name=<val>
[--input=<file|xml>][--wait=<i>]</emphasis></para>
<para><emphasis role="bold">ecl run <target> -
--name=<val>
[--input=<file|xml>][--wait=<i>]</emphasis></para>
<para><emphasis role="bold">Examples</emphasis>:</para>
<programlisting>ecl run thor findperson.ecl --name=findperson --input=data.xml --wait=1000
ecl run thor W20150914-125557 --input=data.xml --wait=1000
ecl run thor findperson --input=data.xml --wait=1000
ecl run thor libW20150914-125557.so --input=data.xml --wait=1000
ecl run thor - --input=data.xml --poll --wait=1000
ecl run thor findperson.ecl --input="<request><LName>JONES</LName></request>"
ecl run thor findperson.ecl -I C:\MyECL\
</programlisting>
<para>A hyphen (-) specifies that the object should be read from
stdin.</para>
<para><informaltable colsep="1" frame="all" rowsep="1">
<tgroup cols="2">
<colspec align="left" colwidth="125.55pt" />
<colspec />
<tbody>
<row>
<entry>ecl run</entry>
<entry>executes the supplied ecl run command</entry>
</row>
<row>
<entry><emphasis role="bold">Arguments</emphasis></entry>
</row>
<row>
<entry>target</entry>
<entry>The target cluster to which to publish</entry>
</row>
<row>
<entry>wuid</entry>
<entry>The workunit id to run</entry>
</row>
<row>
<entry>file</entry>
<entry>The ECL text file to run</entry>
</row>
<row>
<entry>archive</entry>
<entry>The ECL archive to run</entry>
</row>
<row>
<entry>so | dll</entry>
<entry>The workunit dynamic linked library or shared object
to run</entry>
</row>
<row>
<entry>-</entry>
<entry>Specifies object should be read from stdin</entry>
</row>