To create a COBOL JVM Value type

A COBOL JVM Value Type enables you to specify your own primitive types.

To create a COBOL JVM Value type:

  1. Click File > New > Other.

    This opens the New dialog box.

  2. Click Micro Focus COBOL > COBOL JVM Value Type, and then click Next.

    This opens the New COBOL JVM Value Type dialog box.

  3. In the Source folder field, type the path to the source folder you want to use. Alternatively, click Browse to navigate to a source folder.
    Note: By default, the Source folder field contains the source folder of the element that was selected when the wizard was started.
  4. In the Package field, type the path to the package to be used. Alternatively, click Browse to choose a package.
    Note: Micro Focus recommends that you do not use the default package.
  5. In the Name field, type a name for the COBOL JVM Value Type.
  6. Select an access modifier for the new COBOL JVM Value Type. This can be either public or internal.
  7. Select an interfaces that the COBOL JVM Value Type implements:
    1. Click Add.

      This opens the Implemented Interfaces Selection dialog box.

    2. In the Choose interfaces field, start typing the name of the interface you want to use. This creates a list of interface names in the Matching items list.
    3. In the Matching items list, click the interface names you want to use.
    4. Click OK.
  8. Click Finish.

    This creates a COBOL file and opens it in the COBOL editor.