<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Manuals%3ANetBatch%3ANBEXEC%2FStarting_NBexec</id>
	<title>Manuals:NetBatch:NBEXEC/Starting NBexec - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Manuals%3ANetBatch%3ANBEXEC%2FStarting_NBexec"/>
	<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Manuals:NetBatch:NBEXEC/Starting_NBexec&amp;action=history"/>
	<updated>2026-04-22T18:27:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Manuals:NetBatch:NBEXEC/Starting_NBexec&amp;diff=11847&amp;oldid=prev</id>
		<title>Majestix: Created page with &quot;== STARTING NBEXEC ==  NBEXEC is invoked by TACL, or specified as a NetBatch EXECUTOR-PROGRAM as follows:          &gt;RUN NBEXEC/NAME [&lt;pname&gt;], IN &lt;control file&gt; &amp;                   [,OUT &lt;list file&gt;]/[&lt;command&gt;,...]              or          &gt;BATCHCOM;SUBMIT &lt;job-name&gt;, IN &lt;control file&gt; [,OUT &lt;list file&gt;] &amp;                 , EXECUTOR-PROGRAM NBEXEC &amp;                [, STARTUP &quot;&lt;command&gt;,...&quot; ]              where:           &lt;control file&gt; Is the control file that NBEXEC w...&quot;</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Manuals:NetBatch:NBEXEC/Starting_NBexec&amp;diff=11847&amp;oldid=prev"/>
		<updated>2026-04-22T12:47:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== STARTING NBEXEC ==  NBEXEC is invoked by TACL, or specified as a NetBatch EXECUTOR-PROGRAM as follows:          &amp;gt;RUN NBEXEC/NAME [&amp;lt;pname&amp;gt;], IN &amp;lt;control file&amp;gt; &amp;amp;                   [,OUT &amp;lt;list file&amp;gt;]/[&amp;lt;command&amp;gt;,...]              or          &amp;gt;BATCHCOM;SUBMIT &amp;lt;job-name&amp;gt;, IN &amp;lt;control file&amp;gt; [,OUT &amp;lt;list file&amp;gt;] &amp;amp;                 , EXECUTOR-PROGRAM NBEXEC &amp;amp;                [, STARTUP &amp;quot;&amp;lt;command&amp;gt;,...&amp;quot; ]              where:           &amp;lt;control file&amp;gt; Is the control file that NBEXEC w...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== STARTING NBEXEC ==&lt;br /&gt;
&lt;br /&gt;
NBEXEC is invoked by TACL, or specified as a NetBatch EXECUTOR-PROGRAM as follows:&lt;br /&gt;
  &lt;br /&gt;
      &amp;gt;RUN NBEXEC/NAME [&amp;lt;pname&amp;gt;], IN &amp;lt;control file&amp;gt; &amp;amp;&lt;br /&gt;
                  [,OUT &amp;lt;list file&amp;gt;]/[&amp;lt;command&amp;gt;,...]&lt;br /&gt;
  &lt;br /&gt;
          or&lt;br /&gt;
  &lt;br /&gt;
      &amp;gt;BATCHCOM;SUBMIT &amp;lt;job-name&amp;gt;, IN &amp;lt;control file&amp;gt; [,OUT &amp;lt;list file&amp;gt;] &amp;amp;&lt;br /&gt;
                , EXECUTOR-PROGRAM NBEXEC &amp;amp;&lt;br /&gt;
               [, STARTUP &amp;quot;&amp;lt;command&amp;gt;,...&amp;quot; ]&lt;br /&gt;
  &lt;br /&gt;
          where:&lt;br /&gt;
  &lt;br /&gt;
       &amp;lt;control file&amp;gt; Is the control file that NBEXEC will execute.&lt;br /&gt;
                      This file must be a TANDEM EDIT format file.&lt;br /&gt;
  &lt;br /&gt;
       &amp;lt;list file&amp;gt;    Is a non disk device, process or disk file to&lt;br /&gt;
                      which the output listing is directed.&lt;br /&gt;
  &lt;br /&gt;
       &amp;lt;command&amp;gt;      Is a string containing one or more NBEXEC&lt;br /&gt;
                      startup instructions. &amp;lt;command&amp;gt; is limited by&lt;br /&gt;
                      NetBatch to a maximum of forty bytes.&lt;br /&gt;
    If &amp;lt;list file&amp;gt; is a disk file, the following rules apply:&lt;br /&gt;
  &lt;br /&gt;
     o If the file does not exist, an entry-sequenced file is created,&lt;br /&gt;
       with a logical record length of 132 characters and with primary&lt;br /&gt;
       and secondary extents set to 10.&lt;br /&gt;
  &lt;br /&gt;
     o If the file already exists, it must be either entry-sequenced,&lt;br /&gt;
       relative, or unstructured.&lt;br /&gt;
  &lt;br /&gt;
     o If it is entry-sequenced or relative, then the logical record&lt;br /&gt;
       length at creation will be used.   This length need not be&lt;br /&gt;
       greater than 132.&lt;br /&gt;
  &lt;br /&gt;
     o If unstructured, a logical record length of 132 characters will&lt;br /&gt;
       be presumed.&lt;br /&gt;
  &lt;br /&gt;
     o The &amp;lt;list file&amp;gt; extent sizes must be chosen to suit the expected&lt;br /&gt;
       amount of output listing.&lt;br /&gt;
  &lt;br /&gt;
    If &amp;lt;list file&amp;gt; is left blank, the output is suppressed.&lt;br /&gt;
  &lt;br /&gt;
    If the whole OUT option is omitted, the normal defaults apply.&lt;br /&gt;
    For TACL this is usually the home terminal.  For NetBatch, this is&lt;br /&gt;
    configured for your scheduler.&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
           $BIG1.T9190IPM.NBEXDOC - V1.6 - 09Sep1994 - 16 Feb 2026&lt;br /&gt;
                                                                       2-1&lt;br /&gt;
                                  NetBatch T9190D30 - NBEXEC - User Manual&lt;br /&gt;
                                                           STARTING NBEXEC&lt;br /&gt;
  &lt;br /&gt;
    NBEXEC Startup Commands&lt;br /&gt;
    _______________________&lt;br /&gt;
  &lt;br /&gt;
    NBEXEC startup commands are in the form:&lt;br /&gt;
  &lt;br /&gt;
         [ name [ value ] ] #, ...&lt;br /&gt;
  &lt;br /&gt;
    where name is an identifier consisting of one or more alphabetic&lt;br /&gt;
    characters, and value is some text associated with the identifier.&lt;br /&gt;
    Alphabetic values must be separated from the name by at least a&lt;br /&gt;
    single space.  Consecutive identifiers may be separated by commas&lt;br /&gt;
    &amp;quot;,&amp;quot;, or semicolons &amp;quot;;&amp;quot;.&lt;br /&gt;
  &lt;br /&gt;
    Commands may be abbreviated.&lt;br /&gt;
  &lt;br /&gt;
    &amp;lt;command&amp;gt;    is one of:&lt;br /&gt;
  &lt;br /&gt;
       A[PPEND]&lt;br /&gt;
  &lt;br /&gt;
       B[ACKUPCPU]   &amp;lt;cpu&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
       C[LASS]       &amp;lt;cname&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
       D[PBUG]&lt;br /&gt;
  &lt;br /&gt;
       ID            &amp;lt;id&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
       L[ABEL]       &amp;lt;label&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
       L[IMIT]       &amp;lt;hh:mm&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
       N[AME]        &amp;lt;mname&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
       P[URGE]&lt;br /&gt;
  &lt;br /&gt;
       S[POOLREP]    C[LASS]&lt;br /&gt;
                     U[SER]&lt;br /&gt;
                     J[OBNAME]&lt;br /&gt;
       SY[NTAX]&lt;br /&gt;
  &lt;br /&gt;
       X[PRI]        &amp;lt;xpri&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
    AP[PEND]         Specifies that output is to be appended to the&lt;br /&gt;
                     current list file if it exists.  NBEXEC defaults to&lt;br /&gt;
                     overwrite the &amp;lt;list file&amp;gt; if one exists.&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
           $BIG1.T9190IPM.NBEXDOC - V1.6 - 09Sep1994 - 16 Feb 2026&lt;br /&gt;
                                                                       2-2&lt;br /&gt;
                                  NetBatch T9190D30 - NBEXEC - User Manual&lt;br /&gt;
                                                           STARTING NBEXEC&lt;br /&gt;
  &lt;br /&gt;
    B[ACKUPCPU] &amp;lt;n&amp;gt;  NBEXEC is able to function as a NonStop process.&lt;br /&gt;
                     If the primary CPU running NBEXEC fails, a backup&lt;br /&gt;
                     copy can takeover, determine what recovery the job&lt;br /&gt;
                     may require, and resume execution from the&lt;br /&gt;
                     appropriate place in the input control file.  The&lt;br /&gt;
                     number &amp;lt;n&amp;gt; must be the number of an available CPU,&lt;br /&gt;
                     and must not be the CPU allocated to the EXECUTOR&lt;br /&gt;
                     under which NBEXEC is started.  Use -1 to indicate&lt;br /&gt;
                     that NBEXEC should start its backup process in the&lt;br /&gt;
                     highest available CPU.&lt;br /&gt;
  &lt;br /&gt;
    C[LASS] &amp;lt;cname&amp;gt;  Specifies &amp;lt;cname&amp;gt; of up to eight alphanumeric&lt;br /&gt;
                     characters to appear on the &amp;lt;list file&amp;gt; header page&lt;br /&gt;
                     and possibly the spooler REPORTNAME.  See the&lt;br /&gt;
                     SPOOLREP attribute for details.&lt;br /&gt;
  &lt;br /&gt;
    D[PBUG]          Is used to force NBEXEC to call DEBUG.  This is only&lt;br /&gt;
                     useful for debugging purposes when NBEXEC is run at&lt;br /&gt;
                     a terminal rather than as a NetBatch job.&lt;br /&gt;
  &lt;br /&gt;
    ID &amp;lt;id&amp;gt;          Assigns a name of one alphabetic plus up to seven&lt;br /&gt;
                     alpha numeric characters to a job to distinguish it&lt;br /&gt;
                     among other jobs on the same &amp;lt;class&amp;gt;.  Lower case&lt;br /&gt;
                     characters are upshifted.  This name appears on the&lt;br /&gt;
                     job list file.&lt;br /&gt;
  &lt;br /&gt;
    ID T[ERM]        An &amp;lt;id&amp;gt; of &amp;quot;TERM&amp;quot; or &amp;quot;T&amp;quot; will cause NBEXEC to&lt;br /&gt;
                     emulate a physical terminal, rather than a process.&lt;br /&gt;
                     Processes compiled using COBOL74 ACCEPT/DISPLAY&lt;br /&gt;
                     verbs will run under control of NBEXEC if ID TERM&lt;br /&gt;
                     is specified.  Before using ID TERM, users&lt;br /&gt;
                     should be aware that many programs behave&lt;br /&gt;
                     differently when they read commands from a&lt;br /&gt;
                     terminal.  For example, it is common for a program&lt;br /&gt;
                     to request a continuation response when a full&lt;br /&gt;
                     screen of output has been displayed.&lt;br /&gt;
  &lt;br /&gt;
    L[ABEL] &amp;lt;label&amp;gt;  Causes NBEXEC processing to begin at the specified&lt;br /&gt;
                     label in the control file.&lt;br /&gt;
  &lt;br /&gt;
            &amp;lt;label&amp;gt;  Is one to thirty alpha numeric characters that&lt;br /&gt;
                     may be hyphenated. &amp;lt;label&amp;gt; must be defined within&lt;br /&gt;
                     the control file.&lt;br /&gt;
  &lt;br /&gt;
    L[IMIT] &amp;lt;hh:mm&amp;gt;  Specifies a maximum time limit for the NBEXEC job.&lt;br /&gt;
                     Must be between 00:00 and 99:59, with the default&lt;br /&gt;
                     being 01:00 (one hour).&lt;br /&gt;
  &lt;br /&gt;
                     NBEXEC will abort the job once this limit is&lt;br /&gt;
                     exceeded logging the fact to &amp;lt;list file&amp;gt;.  Jobs will&lt;br /&gt;
                     issue a warning message to both the job list file&lt;br /&gt;
                     and the supervisor log 15 minutes before timing out.&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
           $BIG1.T9190IPM.NBEXDOC - V1.6 - 09Sep1994 - 16 Feb 2026&lt;br /&gt;
                                                                       2-3&lt;br /&gt;
                                  NetBatch T9190D30 - NBEXEC - User Manual&lt;br /&gt;
                                                           STARTING NBEXEC&lt;br /&gt;
  &lt;br /&gt;
    N[AME]  &amp;lt;mname&amp;gt;  Specifies a name of up to eight alphanumeric&lt;br /&gt;
                     characters to appear on the &amp;lt;list file&amp;gt; header page.&lt;br /&gt;
                     It will be used by NBEXEC  when identifying itself&lt;br /&gt;
                     in $MESSAGE commands (rather than the control file&lt;br /&gt;
                     name) and it can be used when building a spooler&lt;br /&gt;
                     REPORTNAME attribute for the &amp;lt;list file&amp;gt;.  See the&lt;br /&gt;
                     SPOOLREP attribute for details.&lt;br /&gt;
  &lt;br /&gt;
    PU[RGE]          Specifies that the list file will be purged if the&lt;br /&gt;
                     job terminates successfully.  Therefore, if&lt;br /&gt;
  &lt;br /&gt;
                           $IF #ERROR returned TRUE,&lt;br /&gt;
                        or $IF NOT #ERROR returned FALSE,&lt;br /&gt;
                        or processing errors occurred,&lt;br /&gt;
  &lt;br /&gt;
                     the list file would be created.&lt;br /&gt;
                     If the list file is the spooler and the job&lt;br /&gt;
                     terminates successfully, the spooler entry is not&lt;br /&gt;
                     deleted.&lt;br /&gt;
  &lt;br /&gt;
    S[POOLREP] &amp;lt;c&amp;gt;   Controls the format of the REPORTNAME spooler&lt;br /&gt;
                     attribute when &amp;lt;list file&amp;gt; is a spooler collector.&lt;br /&gt;
  &lt;br /&gt;
                      &amp;lt;c&amp;gt;         REPORTNAME&lt;br /&gt;
                      ___________ _______________&lt;br /&gt;
                      C[LASS]     &amp;lt;cname&amp;gt; grp usr&lt;br /&gt;
                      U[SER]      GROUP   USER&lt;br /&gt;
                      J[OBNAME]   &amp;lt;mname&amp;gt; grp usr&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
                     where &amp;lt;cname&amp;gt; defaults to &amp;lt;mname&amp;gt; which in turn&lt;br /&gt;
                     defaults to the &amp;lt;control file&amp;gt; name.  GROUP, grp,&lt;br /&gt;
                     and USER, usr correspond to the Guardian90 UserID&lt;br /&gt;
                     name and number of the NBEXEC process owner.&lt;br /&gt;
  &lt;br /&gt;
    SY[NTAX]         Is specified to perform syntax validation of control&lt;br /&gt;
                     file only.&lt;br /&gt;
  &lt;br /&gt;
                     When NBEXEC begins processing a control file, it&lt;br /&gt;
                     first scans the file to locate labels, and validate&lt;br /&gt;
                     that there are no obvious syntax errors.  If errors&lt;br /&gt;
                     are detected, the job will terminate immediately.&lt;br /&gt;
                     If SYNTAX was specified, the job always terminates&lt;br /&gt;
                     after the syntax check.  SYNTAX would normally be&lt;br /&gt;
                     used immediately after altering a control file to&lt;br /&gt;
                     verify that no mistakes were made.&lt;br /&gt;
  &lt;br /&gt;
                        &amp;gt;NBEXEC/NAME, IN &amp;lt;ctrl&amp;gt;/SYNTAX&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
           $BIG1.T9190IPM.NBEXDOC - V1.6 - 09Sep1994 - 16 Feb 2026&lt;br /&gt;
                                                                       2-4&lt;br /&gt;
                                  NetBatch T9190D30 - NBEXEC - User Manual&lt;br /&gt;
                                                           STARTING NBEXEC&lt;br /&gt;
  &lt;br /&gt;
    Examples&lt;br /&gt;
  &lt;br /&gt;
    The following example shows how to prevent NBEXEC from running more&lt;br /&gt;
    than two hours:&lt;br /&gt;
  &lt;br /&gt;
    1&amp;gt; NBEXEC/NAME, IN X, OUT $S/L2:0&lt;br /&gt;
  &lt;br /&gt;
       or via $ZBAT, the default NetBatch scheduler:&lt;br /&gt;
  &lt;br /&gt;
    1&amp;gt; BATCHCOM; SUBMIT REPORT,IN REPORT,OUT $S, STARTUP &amp;quot;L E-O-M,L2:0&amp;quot;&lt;br /&gt;
  &lt;br /&gt;
      &amp;quot;L&amp;quot; is an abbreviation of the command &amp;quot;LIMIT&amp;quot;.  &amp;quot;LIMIT&amp;quot; is the&lt;br /&gt;
      command used to specify a time limit for a job, while &amp;quot;2:0&amp;quot; is the&lt;br /&gt;
      value accompanying &amp;quot;LIMIT&amp;quot;.&lt;br /&gt;
      &amp;quot;L&amp;quot; is also a valid abbreviation of the command &amp;quot;LABEL&amp;quot;.&lt;br /&gt;
  &lt;br /&gt;
    The following example shows how to make NBEXEC emulate a physical&lt;br /&gt;
    terminal for use by the processes created during the job:&lt;br /&gt;
  &lt;br /&gt;
    2&amp;gt; NBEXEC/IN COMP/ID T&lt;br /&gt;
  &lt;br /&gt;
    The following example shows how to make NBEXEC perform a syntax check&lt;br /&gt;
    on a single control file:&lt;br /&gt;
  &lt;br /&gt;
    3&amp;gt; NBEXEC/IN CTRL/SY&lt;/div&gt;</summary>
		<author><name>Majestix</name></author>
	</entry>
</feed>