JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Java CAPS COBOL Copybook Encoder User's Guide     Java CAPS Documentation
search filter icon
search icon

Document Information

Working With the COBOL Copybook Encoder

COBOL Copybook Encoder Overview

About COBOL Copybooks

About the COBOL Copybook Encoder

Handling Content Beyond Column 72

Creating the Project Files

Creating the COBOL Copybook Document

To Create a New Document

To Import an Existing Document

Generating the XML Schema Definition (XSD)

To Generate the XSD File

Creating a WSDL Document to Use COBOL Copybook Encoding

To Create a WSDL Document for the File Binding Component

Applying COBOL Copybook Encoding to an Existing XSD

To Apply COBOL Copybook Encoding to an XSD

Validating and Testing the COBOL Copybook Encoder

Testing the COBOL Copybook Encoder

Applying COBOL Copybook Encoding to an Existing XSD

If you have an existing XSD that was not generated from a COBOL copybook document, you can apply copybook encoding to it.

To Apply COBOL Copybook Encoding to an XSD

  1. Right-click the XSD to which COBOL copybook encoding will be applied.
  2. Point to Encoding, and then select Apply COBOL Copybook Encoding.
  3. On the dialog box that appears, deselect Apply to All Referenced Schemas or leave it selected, and then click Process.

    Once you apply the Encoder, a special encoding node is automatically added to XSD elements as a child node of an annotation node.

  4. After applying the Encoder, the context menu changes as shown below to allow you to do either of the following:
    • To reset the encoding parameters to their default values (if you modified any), click Reapply COBOL Copybook Encoding. The node structure you have created will be preserved.
    • To remove the COBOL copybook encoding, click Remove Encoding.
  5. Once you apply the Encoder, you can define the encoding rules by adding elements specific to the COBOL Copybook Encoder to the annotation elements.