8.16 AUTOINIT (Display or set the automatic creation of empty tape
files)
8.16.1 Function
The AUTOINIT console command controls the automatic creation of empty tape files. AUTOINIT handles
the "file not found" condition for a specified tape file. It controls if DEVINIT returns a "file not found" error
or creates an empty tape file if the tape file could not be found. Given without an argument AUTOINIT
displays the current setting.
8.16.2 Syntax
Descriptive
Diagram
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
8.16.3 Parameter
ON
When AUTOINIT is set ON, DEVINIT will initialize a blank, non-labeled tape if the
specified tape file is not found. Next, DEVINIT writes two tapemarks, rewinds the
tape and positions the tape to the beginning.
OFF
When AUTOINIT is set OFF (which is the default), DEVINIT will return a "file not
found" error if the specified tape file is not found.
8.16.4 Examples
Example 1:
Display the current AUTOINIT setting.
HHC00013I Herc command: 'autoinit'
HHC02203I Value 'autoinit': 'off'
Figure 31: AUTOINIT command (display current setting)