Kbase 16882: When changes are made to objects outside of Roundtable
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
When changes are made to objects outside of Roundtable
Roundtable is designed to manage application procedures and databases
from within the Roundtable environment. However, there are times when
a user may make changes to code or application schema outside of the
Roundtable environment. The programmer may then wish to incorporate
her changes into the Roundtable repository as a new version of an
object.
For Pcode and Pdoc objects this is easily accomplished. Simply check
out and version the object from within Roundtable as usual.
Roundtable reads the file in from the operating system. If you edit
the object you will see the changes that have been made. When you
check the object back in, the changes are registered in the
repository.
There may be times when several objects have been changed outside the
Roundtable environment. If you are not sure which objects have been
changed, there is a utility to identify such objects. From the main
menu, choose Tools -> Group Checkout and click Change Finder. The
Global Change Finder will scan all objects within the specified module
and list which objects have changes which have not yet been registered
in the repository. You then have the option to check all or some of
these objects out as a group and version them at the same time.
If changes are made to an application database schema outside of
Roundtable, the procedure for letting Roundtable know about the
changes is different. Beginning with Roundtable 8.1, you only have to
perform a Load Schema. (Select the PDbase object from the Roundtable
tabletop, select the Dbase tab, right-click to reveal the pop-up menu,
choose Load Schema). Roundtable will scan your application database
and load any modified schema information into the repository. The
PDbase object will receive a new version level based on your choice.
Roundtable does not support the use of .df files. If you would like
to use a .df file to load changes into a database, use the standard
Progress Data Administration tool. You may do this either from within
a Roundtable session or by bringing up Progress separately. Once the
.df has been loaded, you may perform a Load Schema, as described
above, to get Roundtable in sync with the changed database.
Roundtable provides several useful reports for managing PDbase
ojbects and application schema. From the Dbase tab popup menu, choose
Reports. The PDbase Object report will describe what is currently
in the repository. The Database Definition Report will describe the
physical database outside of Roundtable. The Integrity Check Report
will report on differences found between the two. If this report
reveals differences, you may decide to either:
1) Perform the Load Schema described above to get Roundtable in
sync with the physical database.
or 2) Perform an Update Schema (choose Workspace -> Update Schema).
This will change the physical database to match what is in the
repository.
Prior to Roundtable 8.1, you could not do a Load Schema to bring
schema changes into Roundtable. One option would be to run the
Integrity Check report to display where discrepancies exist. You
could then manually add the changes to the PDbase, Pfile, and Pfield
ojbects from within Roundtable.
In character-mode environments, there is also an option to load an
incremental .df directly into the repository using the rtb_lddf.p
procedure. For information on this option, see kbase entry 15301
"Changes made to a PROGRESS database outside of Roundtable". Note
that this option is not available in the graphical-mode version of
Roundtable.
DAS 5/19/97
Progress Software Technical Support Note # 16882