5.7 AUTOINIT (Automatic creation of empty tape files)
5.7.1 Function
The AUTOINIT system parameter 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. The default for AUTOINIT is OFF.
5.7.2 Syntax
Descriptive
OFF
Diagram
¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ
OFF
5.7.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.
5.7.4 Examples
Example 1:
Switch on the automatic creation of empty tape files.
AUTOINIT ON