To create a COBOL JVM Enum type

A COBOL JVM Enum type is a data type that enables you to specify a variable to be a set of predefined constants.

To create a COBOL JVM Enum type:

  1. Click File > New > Other.

    This opens the New dialog box.

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

    This opens the New COBOL JVM Enum 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 Enum type.
  6. Select an access modifier for the new COBOL JVM Enum type. This can be either public or internal.
  7. Click Finish.

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