How To Generate a Copybook as an RPC Entity

In some cases, the client will share with us copybooks(.cpy files) that represent the data structures of the program.
These copybooks may be used as the linkage section of the program and the only thing we will really need to work with.
By default, we treat copybooks as RPC parts, but we can easily change that behavior and generate copybooks as entities using a design-time property:


  1. If we want to generate it as an entity, we need to change the property generateCopyAsEntity in design-time.properties to True:



2. After we generate an entity, this is the result that we get: