IMPORTER OPTIONS
The following available IMPORTER OPTIONS of the timport utility command can be supplied:
MTS timport importer option (Default)
|COPYBOOK timport importer option | XMLSCHEMA timport importer option | XMLDTD timport importer option]
The following section includes the descriptions and the command syntaxes for each of these importer options.
Each importer-specific command line must be contained within a set of brackets ([]). To see syntax examples, see the specific importer option documentation.
To see how to view the command-line help information for more syntax and usage
details, see the -HELP timport option
.
If you do not specify the output (-O) option, the import process saves the schema in the port directory. But, if you are using the MTS timport option, and you specified a full path in the FileName tag in the schema script (.mts) file, the following results occur. The import process saves the schema in the specified path instead of the port directory.
If you do specify the output (-O) option, the import process saves the schema in the specified location.
MTS timport importer option
MTS is one of the options that can be specified for IMPORTER OPTIONS on the timport utility command. It is used to import an mts file and is specified as follows:
[MTS <.mts file>]
- or -
<.mts file>
Because MTS is the default, the MTS option is optional. Only the mts file must be specified. If the MTS option is specified, the mts file must be provided. If it is not provided, the command line is invalid, and the Not a valid command line - the file name parameter is required if command option (MTS) is selected error message displays on the console.
The .mts file is a required field and is the file name of the mts file that you want to import. If the full path of the mts file name is not specified, the timport utility command searches for the mts file in the current directory.
COPYBOOK timport importer option
COPYBOOK is one of the options that can be specified for IMPORTER OPTIONS on the timport utility command. It is used to designate the COBOL Copybook importer as the schema importer type and is specified as follows:
COPYBOOK [<.cpy file> [-BYTEORDER timport option <byte order>
-CHARSET timport option <charset> -CICS timport option
[-ND timport option [-OPT <importer_opts_xml_file.xml>]]]
Specify the full path of the copybook file in the command line.
XMLDTD timport importer option
XMLDTD is one of the options that can be specified for IMPORTER OPTIONS on the timport utility command. It is used to designate the XML DTD importer as the schema importer type and is specified as follows:
XMLDTD [<.dtd file> [-LANG timport option <language>
-VALIDATION timport option <validation_type>]]
Specify the full path of the dtd file in the command line.
XMLSCHEMA timport importer option
XMLSCHEMA is one of the options that can be specified for IMPORTER OPTIONS on the timport utility command. It is used to designate the XML Schema importer as the schema importer type and is specified as follows:
XMLSCHEMA [<.xsd file> [-LANG timport option <language>
-HINTS timport option <xsdl_hints>
-VALIDATION timport option <validation_type>]]
Specify the full path of the xsd file in the command line.