You can generate a Program, Screen, or Server. If you are
connected to the Rational Team Concert™ server, you can also generate an OCX proxy from
a Business Component-type Server. You use this proxy to process, in
an OCX environment, the services of a Logical View and its associated
Business Component
Before you begin
You can decide where the files are to be generated. Refer
to the link about the target of the generated files for more explanations.
For
the instances that are imported from Pacbase, the skeleton language
of the local generation is identical to the Pacbase skeleton language.
This piece of information is retrieved from the extraction of the Pacbase models and from
the import. It is stored on the Library.
Procedure
You can generate instances in different ways: - Right-click a Program, Screen, or Server instance in the Design
Explorer view. Select Generate and
the entity type of the selected instance.
- Enter an rpp –generate command line
from a command prompt.
- Click
in the Design view
of the instance. To be able to do so, you must have previously generated
the instance a first time and opened its code in the PDP COBOL editor.
Results
A progress information message box is displayed until the
generation is complete.
The local generation of a Program, Screen,
or Server produces the following files:
- A .cbl file that is nested under the Program,
Screen, or Server instance in the Design Explorer view.
If you right-click it and select , the instances
involved in this file generation will be automatically displayed in
the References view.
- A map description file for a Screen (.map, .bms,
or .mfs) that is nested under the Screen instance
in the Design Explorer view.
- A metadata file of the generated design (.cblpdp)
and a metadata file of the map for a Screen (.mappdp, .bmspdp,
or .mfspdp). These files can be viewed in the Package
Explorer view: They must not be edited but must be assigned
the same version number as the other generated files.
To
edit the generated .cbl file , right-click it
and select . You access the COBOL editor and views from which you
can work on the code.
For an OCX proxy generation, the generation
produces a .txt file under the Business Component
in the Design Explorer view.