Import a copybook schema example

The following example shows how you can use the timport utility command-line option to import the COBOL Copybook wrapped.cpy metadata file to a schema for a CICS adapter. The COBOL Copybook importer is specified to use the NATIVE byte order set, NATIVE character set, create the wrapped.log file, and to retain the generated intermediate wrapped.mts system file.


timport -IMP COPYBOOK
   [c:\install_dir\examples\general\copybook\wrapped.cpy
   -BYTEORDER NATIVE -CHARSET NATIVE -CICS]
   -O c:\install_dir\examples\general\copybook\wrapped.mtt
   -LOG c:\install_dir\examples\general\copybook\wrapped.log
   -KEEPMTS
   c:\install_dir\examples\general\copybook\wrapped.mts