Put your short description here; used for first paragraph
and abstract.
Before you begin
To be able to use the help migration on a Program, you must
previously:
- Convert its VA Pac design to its PDP (Pattern Driven Programming)
design available from RDz, This step creates a .pacprogram file.
- Generate, in VA Pac, the Macros called by the Program and import
their corresponding .cblgen files into the location,
- Generate, with the VA Pac generation procedure, the Cobol file
which contains both the code corresponding to the Program's design
and the specific code of the Program,
- Generate, with the MIA1 VA Pac batch migration procedure, the
Cobol control file, which only contains the code corresponding to
the Program's design.
- In the Design explorer view, open
a location (it must be represented by
).
- Right-click on a Program instance and select Migration
help in the popup menu. This opens a two-page wizard:
- On the first page, you specify the two Cobol files generated
in VA Pac: the first file includes both the code from the Program's
design and the specific code whereas the second file, the control
file, only contains the code corresponding to the Program's design.
Click Finish if you want the help migration
function to replace the Pac constants and date of the VA Pac generated
file with those of the locally-generated file. Otherwise, click Next to
access the second page of the wizard.
- On the second page, you indicate whether you want to keep
the Pac constants and date of the VA Pac generated file, and if so,
whether a warning is to be displayed on the corresponding lines. Then
click Finish.
Results
The migration help function copies the two VA Pac generated
Cobol files into the location and generates the local Cobol file.
It compares the contents of the control file with those
of the locally-generated file and puts warnings wherever it finds
discrepancies.
To view these warnings, you must then open the
generated .cbl file with the PDP LPEX editor.
The warnings remain as long as you do not fix them or generate a new
code. Quick fixes are available.