One way to create new reports is to use the Copy Report Definition (CR) command from the List Report Definitions (LR) function. The CR command is issued from the Report Definitions screen. The command allows you to copy a report definition either to another Adabas Review repository, or to the current Adabas Review repository under a new name.
To copy a report definition and generate a display program
Enter the CR command on the selection line preceding the report name.
Adabas Review displays the Copy Report Definition window, which contains the Report Name, the DBID, and File number of the report definition to be copied. The Report Name field is initially set to the report name to be copied.
If you are copying the report to the current Adabas Review repository, change the report name.
The DBID and the File fields indicate the repository where the report is to be copied. These fields are initially set to the current repository.
Ensure that the DBID and File indicate a valid Adabas Review repository.
Once you have made the required changes, press PF5 to copy the report definition, or press PF3 to cancel and exit the window.
After the report definition is copied, the Display Program Name will display the message
Need RG
This indicates that you must generate a display program before the new report can be displayed.
Generate a display program in one of two ways:
Enter RG on the selection line preceding the new report name; or
Edit the report using the Edit Report (ER) function; then save it. Adabas Review automatically generates a new display program reflecting the changes.