Generating the CDC policy program creates a procedure .p file which contains the configuration of the CDC policy that you are currently creating.
You can either run the program in another database to create a new CDC policy with same configuration, or you can modify the configuration of the program and run it in the same database to create a new CDC policy with modified configuration.
You can generate policy program for both new and existing CDC policies. Note that generating the policy program does not create the CDC policy. For API references, see OpenEdge Development: Programming Interfaces.