Prerequisite Knowledge and Tools

Certain knowledge and tools are necessary to use COBOL copybooks with Sterling B2B Integrator.

This includes the following:

  • The audience using this software should be familiar with Sterling B2B Integrator, Sterling B2B Integrator Map Editor, their operating system, and the use of COBOL copybooks.
    Note: This documentation is not intended to explain COBOL or COBOL copybooks.
  • You must have a Java™ Runtime Environment version 1.5.0_11 installed on the same machine as Sterling B2B Integrator Map Editor. You can download the 1.5.0_11 version of JRE from: http://java.sun.com/products/archive/

    If you do not have JRE version 1.5.0_11 installed on the same machine as Sterling B2B Integrator Map Editor, you will receive a message instructing you to install JRE version 1.5.0_11 and try the COBOL copybook conversion again. The message you receive if you do not have either installed is:
    
    Error: Required JRE version 1.5.0_11 was not found. Please install the proper version.
    
    Note: The Java JDK contains the correct version of JRE. However, if you install only JRE, it will use less disk space than installing JDK.
  • You must have the Microsoft XML Core Services (MSXML) installed on the same machine as Sterling B2B Integrator Map Editor. If you do not have Microsoft XML Core Services (MSXML) installed, you will receive a message instructing you to install MSXML on the same machine as Sterling B2B Integrator Map Editorand try the COBOL copybook conversion again.
  • For version 8.0 and higher, the CB2XML tool is not installed by default, and the CB2XML.jar needs to be explicitly downloaded from the Internet, where it is freely available. Prior to version 8.0, the CB2XML.jar was downloaded and installed along with the Sterling B2B Integrator Map Editor in the following subfolder along with the necessary files: Program Files\SterlingCommerce\Map Editor\3rdParty\cb2xml
  • When the conversion of the COBOL copybook is complete and Sterling B2B Integrator Map Editor has created the positional side of your map, it leaves behind the intermediate XML file (using the same name of your COBOL copybook with the extension .XML appended) in the same folder as the source file. You can view this XML file in Internet Explorer.
    Note: You can use this intermediate XML file to create a schema, if you wish, or you can just delete it if you have no use for it.