To copy program properties

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
  1. On the Project Explorer, identify a program that contains the properties you want to copy to one or more other programs. Or, alternatively, select a program and set its properties to reflect those you want to copy to one or more other programs. The program you select is your source program.
  2. At a command prompt, change to your %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\bin directory.
  3. If you want to update programs that reside in more than one application, using a text editor, create a text file that contains a list of the names of those applications. (optional)
  4. At the command prompt, enter the following:
    progcopy sourceprogram {-a applicationname | -f inputfile} [project]

    Parameters:

    sourceprogram The name of the program you want to copy from.
    applicationname The name of the application that contains the programs you want to update with properties from the source program.
    inputfile The name of the text file that contains a list of applications whose programs you want to update. Optionally created in step 3. If the text file you created resides in a directory other than %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\bin, include the full path to the file as well.
    project The full path to an alternate project in which the application or applications specified are found. If you do not specify a project, AMB defaults to the project specified in your AppMaster Builder preferences.
    Note:
    • The source program and all applications specified must be part of the same project.
    • All programs in each application specified are updated.