Jump to content

NetBatch:NBEXEC/Starting NBexec: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 2: Line 2:


NBEXEC is invoked by TACL, or specified as a NetBatch EXECUTOR-PROGRAM as follows:
NBEXEC is invoked by TACL, or specified as a NetBatch EXECUTOR-PROGRAM as follows:
<div style="width: 80ch">
{{terminal|title=TACL|style=width: 80ch;margin-left: 4em;|text=
{{terminal|title=TACL|text=
>RUN NBEXEC/NAME [<pname>], IN <control file> &
>RUN NBEXEC/NAME [<pname>], IN <control file> &
[,OUT <list file>]/[<command>,...]
[,OUT <list file>]/[<command>,...]
}}
}}
</div>


:or
:or


<div style="width: 80ch; .tpl-terminal {margin-left: 5em;}">
{{terminal|title=TACL|style=width: 80ch;margin-left: 4em;|text=
{{terminal|title=TACL|text=
>BATCHCOM;SUBMIT <job-name>, IN <control file> [,OUT <list file>] &
>BATCHCOM;SUBMIT <job-name>, IN <control file> [,OUT <list file>] &
, EXECUTOR-PROGRAM NBEXEC &
, EXECUTOR-PROGRAM NBEXEC &
[, STARTUP "<command>,..." ]
[, STARTUP "<command>,..." ]
}}
}}

</div>
:where:
:where:


Line 102: Line 99:


The following example shows how to prevent NBEXEC from running more than two hours:
The following example shows how to prevent NBEXEC from running more than two hours:
<div style="width: 80ch;margin-left: 4em;">
{{terminal|title=TACL|style=width: 80ch;margin-left: 4em;|text=1> NBEXEC/NAME, IN X, OUT $S/L2:0}}
{{terminal|title=TACL|text=1> NBEXEC/NAME, IN X, OUT $S/L2:0}}
</div>
or via $ZBAT, the default NetBatch scheduler:
or via $ZBAT, the default NetBatch scheduler:
{{terminal|title=TACL|style=width: 80ch;margin-left: 4em;|text=1> BATCHCOM; SUBMIT REPORT,IN REPORT,OUT $S, STARTUP "L E-O-M,L2:0"}}

<div style="width: 80ch;margin-left: 4em;">
{{terminal|title=TACL|text=1> BATCHCOM; SUBMIT REPORT,IN REPORT,OUT $S, STARTUP "L E-O-M,L2:0"}}
</div>


{{kbd|L}} is an abbreviation of the command "LIMIT". "LIMIT" is the command used to specify a time limit for a job, while "2:0" is the value accompanying "LIMIT".
{{kbd|L}} is an abbreviation of the command "LIMIT". "LIMIT" is the command used to specify a time limit for a job, while "2:0" is the value accompanying "LIMIT".
Line 116: Line 108:
The following example shows how to make NBEXEC emulate a physical terminal for use by the processes created during the job:
The following example shows how to make NBEXEC emulate a physical terminal for use by the processes created during the job:


<!--<div style="width: 80ch;margin-left: 4em;">-->
{{terminal|title=TACL|style=width: 80ch;margin-left: 4em;|text=2> NBEXEC/IN COMP/ID T}}
{{terminal|title=TACL|style=width: 80ch;margin-left: 4em;|text=2> NBEXEC/IN COMP/ID T}}

<!--</div>-->
The following example shows how to make NBEXEC perform a syntax check on a single control file:
The following example shows how to make NBEXEC perform a syntax check on a single control file:
<div style="width: 80ch;margin-left: 4em;">
{{terminal|title=TACL|style=width: 80ch;margin-left: 4em;|text=3> NBEXEC/IN CTRL/SY}}
{{terminal|title=TACL|text=3> NBEXEC/IN CTRL/SY}}
</div>

Debug data: