Import a copybook schema with ND option example
The following example shows how you can use the timport utility command-line option to import the COBOL Copybook examplecpybook.cpy metadata file to a schema for a CICS adapter. The non-deprecated COBOL Copybook importer is specified to use the NATIVE byte order set, and NATIVE character set. It is specified to use the COBOL Copybook importer options that are set in the importeropts.xml XML file. The importer is also specified to create the test.log log file.
timport -IMP COPYBOOK
[c:\install_dir\examples\general\copybook\examplecpybook.cpy
-BYTEORDER NATIVE -CHARSET NATIVE -CICS
-ND -OPT c:\install_dir\examples\general\copybook\importeropts.xml]
-O c:\install_dir\examples\general\copybook\examplecpybook.mtt
-LOG c:\install_dir\examples\general\copybook\test.log -NO -VERBOSE