Copying Procedures

You may copy any QA Build procedure, but a word of warning. The copying process copies only the named procedure itself, not its subsidiaries. Any subsidiaries are now shared with the original procedure. See Sharing Program Components and Moving Procedures for precautions that you should take.

If you want an entirely separate working version of a procedure tree, you must copy each procedure and procedure body in the tree in turn.

To copy a procedure not already in your program:

  1. On the Program Flow Diagram insert a new procedure
  2. Type in a new name for the procedure
  3. Select the Copy option from the Procedure Editing menu
  4. Type in the name of the procedure to copy from, or select one from a list of the procedures on the database (press <Ctrl+P>)

To replace a procedure by a copy:

  1. On the Program Flow Diagram navigate to the procedure to be replaced with a copy
  2. Use the Link Edit Dialog to change the name of the procedure linked to the desired name for the new procedure and close the dialog.
  3. Select the Copy option from the Procedure Editing menu that appears: The name of the original procedure will be displayed in the edit box. Press Enter to proceed with the copy.

To copy a procedure body:

  1. Add a procedure body to the database
  2. On the Procedure Body Editing menu, select the Copy option
  3. Type in the name of the procedure body to copy from, or select one from a list of the procedure bodies on the database

Replacing a procedure body by a copy can be done in a similarly to replacing a procedure by a copy above, i.e. In the Procedure Edit dialog replace the name of the procedure body to be replaced with the new name, and accept the Copy option in the following menu.