Several Program, Screen, or Server instances can have the same external name in a Pacbase Library. Therefore, several files can be generated with the same external name. These duplicates are standardly managed but you can customize this management.
When Pacbase data is migrated, the generated files are placed in default COBOL folders. These default COBOL folders are pacprogram, pacscreen, and pacserver if the --separateCobolProject option is specified in the rpp --automaticMigration command or in the folder of the model entity.
When several instances of the same entity have the same external name in a Pacbase Library, and therefore in a Rational® Programming Patterns project, the first instance in the alphabetical order of its name is placed in the default COBOL folder. The second instance is migrated to a COBOL folder whose name is the name of the default COBOL folder, followed by 1. The third instance is migrated to a COBOL folder whose name is the name of the default COBOL folder, followed by 2.
You can customize the management of duplicates through a Java extension point. For information, see Customization of the default generation target.