8.9.3 mtguide and emtdef statements (specification of MT information)

To use EasyMT as an unload data file or LOB data unload file, specify the mtguide and emtdef statements.

The mtguide and emtdef statements must precede the unload or lobunld statement.

Organization of this subsection
(1) Format
(2) Explanation
(3) Notes

(1) Format

mtguide{use|nouse}
emtdef MT-attribute-definition-file-name

(2) Explanation

(a) mtguide{use|nouse}

When magnetic tape is used for the unload data file or LOB data unload file, this option specifies whether MTguide is to be used for the magnetic tape mounting operation.

use
MTguide is to be used.
nouse
MTguide is not to be used.
(b) emtdef MT-attribute-definition-file-name

~<path name>

Specifies the name of the file that defines EasyMT's MT attribute. The following items specified in this file take effect on EasyMT processing:

However, if the same item is specified in the unload statement or lobunld statement, the unload statement or lobunld statement specification takes precedence.

HiRDB single server configuration
Create the MT attribute definition file at the server machine that contains the single server.
HiRDB parallel server configuration
Create the MT attribute definition file at the server machine where the system manager is located.

(3) Notes

To use EasyMT, you need to initialize the MT to be used for the unload operation to the EasyMT-labeled volume format beforehand using EasyMT's EmtInit function or the emtinit command.

To use a multi-volume MT, you need to initialize all volumes.

The following shows the methods for specifying the initialization parameter:

Specification methodValue
Specifying in the volume attribute definition tableEMTVOL_EL
Specifying in the MT attribute definition filevoltype=EL