Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Generate an entity from the COBOL.

  2. Open the entity part that includes the field with the entity editor.

  3. Go to the FieldsDynamic Attribute and check the Dynamic field checkbox.

  4. Open the same entity part with the Java editor.

  5. Add the Dynamic function name to the @RpcDynamicField annotation.
    E.g:@RpcDynamicField(dynamicFunction = "myDynamicFun")

  6. Declare the count value in the @RpcList annotation. (It will be overridden by the dynamic function).
    E.g: @RpcList(count = 3)

Step 2: implement the DynamicFieldFunction interface.

...