Start Today

← Documentation

Generate a copybook as an RPC entity

In some cases the host team shares copybooks (.cpy files) that represent the data structures of the program. These copybooks may be used as the linkage section of the program and may be the only artifact you need to work with.

By default, copybooks are treated as RPC parts. You can generate them as entities instead using a design-time property.

  1. Set generateCopyAsEntity in design-time.properties to true.
  2. Generate the entity. The copybook is produced as an RPC entity rather than as a nested part.

See RPC entity and RPC SDK.


Source: How To Generate a Copybook as an RPC Entity (Confluence)

Set generateCopyAsEntity so copybooks generate as RPC entities instead of parts.

Read more