Entering INIT statements
INIT reads statements from the system file SYSDTA (by default, from the terminal in interactive mode) or from the console (in CONSOLE mode).
An INIT statement consists of the operation name (INIT, LIST, etc.) plus operands with operand values, as applicable. If a statement requires more than one operand, the operands are separated by commas. Blanks are not permissible between the operand and the operand value or values.
An input line cannot consist of more than 72 characters. Excess characters are truncated without warning. Leading blanks are ignored.
If necessary, an INIT statement can be continued on a continuation line or lines. A continuation character (hyphen: “-”) must be set at some point in the statement to indicate the presence of continuation lines. INIT then prompts for continuation of statement input:
(OUT) % NVI0002 ENTER ADDITIONAL OPERANDS
All characters coming after a blank following the continuation character are ignored (line comment). If characters other than blanks come immediately after a hyphen, the hyphen is not recognized as the continuation character.
Leading blanks in a continuation line are ignored. The operands specified in a continuation line are appended to the preceding line at the point at which the continuation character occurs.
Even if it extends over a number of continuation lines, an INIT statement cannot consist of more than 240 characters (including permissible blanks, excluding leading blanks and character after a continuation character).
Example
Statement parts | Comment | ||
|
|
|
|
This is equivalent to the following input line:
INIT 3 TAPE-C4,VSN=(VSN01,VSN02,VSN03),UNIT=A1
If an asterisk (*
) appears in the first column of an input line, the contents of the line in question are not evaluated. By this means, comments can be added to procedures in which the INIT utility routine is called or to a tracer listing.
Statement | Function |
---|---|
END | Terminate the program. |
HELP | Output an outline description of statements and operands |
INIT | Write the volume header label VOL1 and the file header labels HDR1 and HDR2 or write two tape marks. |
LIST | Output the contents of existing VOL1, HDR1 , HDR2 and HDR3 labels. |
OPTION | Activate and deactivate special functions; the setting remains valid for all INIT and LIST statements throughout the program session or until reset. |