-OPT timport option

The options file (-OPT) timport option is available to use with the COPYBOOK timport importer option that is specified with the-ND option.

It is only used for the non-deprecated COBOL Copybook Importer.

Use -OPT to specify some of the options that are available under Window > Preferences > Importer > COBOL. If you specify the -OPT timport option, you must also specify an XML (.xml) file that contains importer option settings. You can specify the default XML file, importdefs.xml, that contains the default importer option settings. You can also specify an alternative XML file that contains different default importer option settings that you need the COBOL Copybook Importer process to use instead.

If you do not include the -OPT timport option in your command that includes the -ND option, the COBOL Copybook Importer process uses the default XML file.

To use the COBOL Copybook Importer command with different options, examine the default XML file to see how to set up the options in an alternative XML file.

This option is not used for the deprecated COBOL Copybook Importer. If you specify the -OPT option for the deprecated COBOL Copybook, the import process does not detect it. Since the process does not detect the -OPT importer option in this case, it does not produce an error message.