Job Disposition

<job disposition>

──┬─ NEWSOURCE ─┬───────────────────┬─┬────────────────────────────────┤
  │             └─ = ──<file title>─┘ │
  └─┬───────┬─ SYNTAX ────────────────┘
    └─ FOR ─┘

Explanation

The NEWSOURCE job disposition saves a copy of the job as a JOBSYMBOL file. NEWSOURCE is ignored if the job is initiated through a START command. If NEWSOURCE is specified for a zip with array, a syntax error is generated. If the optional <file title> is omitted, the <job title> is used.

The SYNTAX job disposition compiles a job for syntax checking only. When the job is initiated, the WFL compiler simply compiles it and displays a list of any syntax errors in the job. This job disposition is beneficial when you only need to debug a job.

Example

The following is an example of a job heading that includes a NEWSOURCE job disposition with implicit naming of the file title. If the job is initiated through a ZIP WITH FILE or through CONTROLCARD using queue input, the job symbol JOB/TEST/NEWSOURCE is created:

?BEGIN JOB JOB/TEST/NEWSOURCE NEWSOURCE;

The following is an example of a job heading that includes a NEWSOURCE job disposition with explicit naming of the file title. If the job is initiated through a ZIP WITH FILE or through CONTROLCARD using queue input, the job symbol JOB/TEST/NEWSOURCE/1 is created:

?BEGIN JOB TEST/NEWSOURCE NEWSOURCE = JOB/TEST/NEWSOURCE/1;

The following is an example of a job heading that includes a SYNTAX job disposition:

?BEGIN JOB GEO/ANLYS FOR SYNTAX;