...
Generate an entity from the COBOL.
Open the entity part that includes the field with the entity editor.
Go to the
Fields
→Dynamic Attribute
and check theDynamic field
checkbox.Open the same entity part with the Java editor.
Add the Dynamic function name to the
@RpcDynamicField
annotation.
E.g:@RpcDynamicField(dynamicFunction = "myDynamicFun")
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.
...